Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 87.42 kB / 15.07 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.623/2.623, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 16 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8204/0.8207, allocations: 142.3 MB / 0.9539 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03819/0.859, allocations: 37.54 MB / 0.9905 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02556/0.8846, allocations: 14.39 MB / 1.005 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00544/0.89, allocations: 159.1 kB / 1.005 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003563/0.8936, allocations: 0.845 MB / 1.006 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007977/0.9016, allocations: 2.336 MB / 1.008 GB, free: 8.703 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006799/0.9084, allocations: 1.904 MB / 1.01 GB, free: 6.801 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01748/0.9259, allocations: 12.7 MB / 1.022 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02515/0.9511, allocations: 13.99 MB / 1.036 GB, free: 11.98 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007665/0.9588, allocations: 3.576 MB / 1.039 GB, free: 8.391 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009277/0.9681, allocations: 4.645 MB / 1.044 GB, free: 3.73 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002784/0.9709, allocations: 400 kB / 1.044 GB, free: 3.34 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005368/0.9763, allocations: 0.8859 MB / 1.045 GB, free: 2.453 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.006121/0.9825, allocations: 2.969 MB / 1.048 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0041/0.9866, allocations: 1.393 MB / 1.049 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01455/1.001, allocations: 11.75 MB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/1.001, allocations: 0 / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.688e-06/1.001, allocations: 0 / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0004764/1.002, allocations: 0 / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01742/1.019, allocations: 6.228 MB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.019, allocations: 12.03 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003694/1.023, allocations: 0.8993 MB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/1.034, allocations: 1.521 MB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009576/1.044, allocations: 4.093 MB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006125/1.045, allocations: 452.1 kB / 1.074 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002973/1.048, allocations: 0.605 MB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02678/1.074, allocations: 10.63 MB / 1.085 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002361/1.075, allocations: 23.69 kB / 1.085 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001476/1.076, allocations: 271.9 kB / 1.085 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002353/1.078, allocations: 0.7729 MB / 1.086 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01981/1.098, allocations: 8.51 MB / 1.094 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06357/1.162, allocations: 46.99 MB / 1.14 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00617/1.168, allocations: 4.299 MB / 1.144 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005922/1.174, allocations: 3.681 MB / 1.148 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003352/1.174, allocations: 38.77 kB / 1.148 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.895e-05/1.174, allocations: 81.34 kB / 1.148 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=353): time 5.17e-06/1.174, allocations: 0 / 1.148 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of matching and sorting (n=578): time 1.027/2.201, allocations: 127.9 MB / 1.273 GB, free: 274.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.785e-05/2.201, allocations: 116.3 kB / 1.273 GB, free: 274.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004163/2.205, allocations: 2.655 MB / 1.275 GB, free: 273.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001142/2.207, allocations: 124.1 kB / 1.275 GB, free: 273.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001729/2.208, allocations: 2.68 MB / 1.278 GB, free: 271.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002715/2.211, allocations: 1.952 MB / 1.28 GB, free: 270 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004577/2.211, allocations: 110.7 kB / 1.28 GB, free: 269.9 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003087/2.212, allocations: 0.5305 MB / 1.281 GB, free: 269.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006383/2.218, allocations: 4.053 MB / 1.285 GB, free: 267.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007787/2.226, allocations: 4.994 MB / 1.289 GB, free: 265.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007975/2.234, allocations: 4.826 MB / 1.294 GB, free: 262.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.538e-05/2.234, allocations: 3.938 kB / 1.294 GB, free: 262.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03286/2.267, allocations: 16.92 MB / 1.311 GB, free: 253.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/2.267, allocations: 15.78 kB / 1.311 GB, free: 253.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.019e-05/2.267, allocations: 23.62 kB / 1.311 GB, free: 253.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02596/2.293, allocations: 9.053 MB / 1.32 GB, free: 248.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/2.296, allocations: 0.5265 MB / 1.32 GB, free: 247.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08513/2.381, allocations: 70.61 MB / 1.389 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004963/2.386, allocations: 275.8 kB / 1.389 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009006/2.387, allocations: 192 kB / 1.389 GB, free: 175.4 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005063/2.392, allocations: 2.425 MB / 1.392 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001307/2.393, allocations: 477.8 kB / 1.392 GB, free: 172.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03125/2.424, allocations: 16.74 MB / 1.409 GB, free: 155.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.601e-05/2.424, allocations: 56 kB / 1.409 GB, free: 155.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001589/2.425, allocations: 72 kB / 1.409 GB, free: 155.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.752e-05/2.425, allocations: 31.84 kB / 1.409 GB, free: 155.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04339/2.468, allocations: 25.63 MB / 1.434 GB, free: 129.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.116e-05/2.468, allocations: 8 kB / 1.434 GB, free: 129.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/2.47, allocations: 316.4 kB / 1.434 GB, free: 129.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02358/2.493, allocations: 8.259 MB / 1.442 GB, free: 121 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007884/2.494, allocations: 104 kB / 1.442 GB, free: 120.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07489/2.569, allocations: 67.45 MB / 1.508 GB, free: 51.97 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/2.569, allocations: 11.94 kB / 1.508 GB, free: 51.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03612/2.605, allocations: 21.49 MB / 1.529 GB, free: 30.12 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00394/2.609, allocations: 1.362 MB / 1.53 GB, free: 28.73 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001385/2.611, allocations: 108 kB / 1.531 GB, free: 28.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003195/2.614, allocations: 291.6 kB / 1.531 GB, free: 28.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001968/2.616, allocations: 0.5222 MB / 1.531 GB, free: 27.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004492/2.616, allocations: 140 kB / 1.532 GB, free: 27.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002646/2.619, allocations: 1.749 MB / 1.533 GB, free: 25.94 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/2.619, allocations: 0 / 1.533 GB, free: 25.94 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.008824/2.628, allocations: 2.469 MB / 1.536 GB, free: 23.47 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03764/2.666, allocations: 22.18 MB / 1.557 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02904/2.695, allocations: 14.48 MB / 1.571 GB, free: 2.254 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/2.695, allocations: 11.88 kB / 1.571 GB, free: 2.242 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.01807/2.713, allocations: 9.37 MB / 1.581 GB, free: 8.727 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006875/2.72, allocations: 1.281 MB / 1.582 GB, free: 7.461 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1126/2.832, allocations: 55.84 MB / 1.636 GB, free: 13.51 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008875/2.841, allocations: 4.9 MB / 1.641 GB, free: 8.566 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003784/2.845, allocations: 0.741 MB / 1.642 GB, free: 7.82 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004372/2.849, allocations: 2.6 MB / 1.644 GB, free: 5.219 MB / 1.107 GB Notification: Performance of SimCode: time 3.236e-06/2.849, allocations: 0 / 1.644 GB, free: 5.219 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8444/3.694, allocations: 185.9 MB / 1.826 GB, free: 290.4 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/3.694, allocations: 233 kB / 1.826 GB, free: 290.1 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/10.58, allocations: 0 / 1.826 GB, free: 290.1 MB / 1.154 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat does not exist to compare? outputFormat=mat