Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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.001182/0.001182, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001467/0.001467, allocations: 168.7 kB / 15.95 MB, free: 204 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.379/1.379, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.569/2.569, allocations: 409.4 MB / 0.684 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.000381, allocations: 12 kB / 0.8378 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.744/0.7444, allocations: 146.8 MB / 0.9812 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03816/0.7826, allocations: 37.53 MB / 1.018 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02462/0.8072, allocations: 14.39 MB / 1.032 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005559/0.8128, allocations: 167 kB / 1.032 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003939/0.8168, allocations: 0.841 MB / 1.033 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.008932/0.8258, allocations: 2.332 MB / 1.035 GB, free: 14.83 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00732/0.8331, allocations: 1.896 MB / 1.037 GB, free: 12.93 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01652/0.8496, allocations: 12.72 MB / 1.049 GB, free: 184 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02562/0.8753, allocations: 13.99 MB / 1.063 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007914/0.8833, allocations: 3.576 MB / 1.067 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008661/0.8919, allocations: 4.645 MB / 1.071 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002311/0.8943, allocations: 396 kB / 1.071 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004902/0.8992, allocations: 0.8937 MB / 1.072 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.006242/0.9055, allocations: 2.973 MB / 1.075 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004066/0.9096, allocations: 1.389 MB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.9247, allocations: 11.76 MB / 1.088 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.9247, allocations: 0 / 1.088 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.275e-06/0.9248, allocations: 0 / 1.088 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0005074/0.9253, allocations: 0 / 1.088 GB, free: 8.406 MB / 0.8419 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.01899/0.9443, allocations: 6.224 MB / 1.094 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 7.69e-05/0.9444, allocations: 11.97 kB / 1.094 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003732/0.9481, allocations: 0.8992 MB / 1.095 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/0.959, allocations: 1.517 MB / 1.097 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009712/0.9688, allocations: 4.097 MB / 1.101 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004567/0.9693, allocations: 456.1 kB / 1.101 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002544/0.9718, allocations: 0.5935 MB / 1.102 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02367/0.9955, allocations: 10.65 MB / 1.112 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002145/0.9958, allocations: 23.78 kB / 1.112 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001194/0.997, allocations: 263.9 kB / 1.112 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002326/0.9993, allocations: 0.7729 MB / 1.113 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01912/1.018, allocations: 8.518 MB / 1.121 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0666/1.085, allocations: 46.98 MB / 1.167 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006663/1.092, allocations: 4.308 MB / 1.171 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00551/1.097, allocations: 3.67 MB / 1.175 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003186/1.098, allocations: 38.77 kB / 1.175 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.889e-05/1.098, allocations: 77.34 kB / 1.175 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=353): time 5.761e-06/1.098, allocations: 0 / 1.175 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=578): time 1.099/2.196, allocations: 127.9 MB / 1.3 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/2.196, allocations: 111.9 kB / 1.3 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003151/2.2, allocations: 2.656 MB / 1.303 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009068/2.201, allocations: 121.7 kB / 1.303 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/2.202, allocations: 2.681 MB / 1.305 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001798/2.204, allocations: 1.954 MB / 1.307 GB, free: 208.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003689/2.204, allocations: 108 kB / 1.307 GB, free: 208.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002113/2.204, allocations: 0.5296 MB / 1.308 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0048/2.209, allocations: 4.052 MB / 1.312 GB, free: 204.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00533/2.214, allocations: 4.992 MB / 1.317 GB, free: 198.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005744/2.22, allocations: 4.823 MB / 1.321 GB, free: 194 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/2.22, allocations: 8 kB / 1.321 GB, free: 194 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03119/2.251, allocations: 16.92 MB / 1.338 GB, free: 177 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/2.251, allocations: 17.25 kB / 1.338 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/2.251, allocations: 20 kB / 1.338 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02706/2.278, allocations: 9.064 MB / 1.347 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/2.281, allocations: 0.5148 MB / 1.347 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08176/2.363, allocations: 70.61 MB / 1.416 GB, free: 95.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004736/2.367, allocations: 295.7 kB / 1.417 GB, free: 94.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006444/2.368, allocations: 188 kB / 1.417 GB, free: 94.76 MB / 0.9981 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.004011/2.372, allocations: 2.421 MB / 1.419 GB, free: 92.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/2.373, allocations: 474.5 kB / 1.42 GB, free: 91.86 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03181/2.405, allocations: 16.74 MB / 1.436 GB, free: 74.97 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.201e-05/2.405, allocations: 63.83 kB / 1.436 GB, free: 74.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000149/2.405, allocations: 68 kB / 1.436 GB, free: 74.85 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.701e-05/2.405, allocations: 27.91 kB / 1.436 GB, free: 74.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04586/2.451, allocations: 25.63 MB / 1.461 GB, free: 48.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.252e-05/2.451, allocations: 8 kB / 1.461 GB, free: 48.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/2.453, allocations: 323.5 kB / 1.461 GB, free: 48.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02401/2.477, allocations: 8.259 MB / 1.469 GB, free: 40.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001083/2.478, allocations: 112 kB / 1.47 GB, free: 40.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1032/2.581, allocations: 67.44 MB / 1.535 GB, free: 3.328 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.387e-05/2.581, allocations: 11.94 kB / 1.535 GB, free: 3.316 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0512/2.632, allocations: 21.48 MB / 1.556 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004783/2.637, allocations: 1.362 MB / 1.558 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002351/2.64, allocations: 108 kB / 1.558 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004597/2.644, allocations: 287.6 kB / 1.558 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002923/2.647, allocations: 0.5222 MB / 1.559 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001131/2.648, allocations: 148 kB / 1.559 GB, free: 11.04 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.004177/2.653, allocations: 1.745 MB / 1.56 GB, free: 9.301 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.01e-07/2.653, allocations: 0 / 1.56 GB, free: 9.301 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.01207/2.665, allocations: 2.465 MB / 1.563 GB, free: 6.836 MB / 1.061 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.05031/2.715, allocations: 22.18 MB / 1.585 GB, free: 300 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.03233/2.747, allocations: 14.5 MB / 1.599 GB, free: 1.598 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/2.748, allocations: 0 / 1.599 GB, free: 1.598 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.02089/2.768, allocations: 9.368 MB / 1.608 GB, free: 8.082 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009523/2.778, allocations: 1.287 MB / 1.609 GB, free: 6.816 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1221/2.9, allocations: 55.84 MB / 1.664 GB, free: 12.86 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007401/2.908, allocations: 4.896 MB / 1.668 GB, free: 7.922 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.003369/2.911, allocations: 0.741 MB / 1.669 GB, free: 7.176 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003573/2.915, allocations: 2.604 MB / 1.672 GB, free: 4.57 MB / 1.17 GB Notification: Performance of SimCode: time 1.322e-06/2.915, allocations: 0 / 1.672 GB, free: 4.57 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8709/3.785, allocations: 185.9 MB / 1.853 GB, free: 270.8 MB / 1.186 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/3.786, allocations: 248.8 kB / 1.853 GB, free: 270.5 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/10.79, allocations: 0 / 1.853 GB, free: 270.5 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat does not exist to compare? outputFormat=mat