Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.001058/0.001058, allocations: 102.4 kB / 15.98 MB, free: 6.355 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.001138/0.001139, allocations: 191.3 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7021/0.7021, allocations: 115.3 MB / 406.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001357, allocations: 63.91 kB / 493.2 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3454, allocations: 76.17 MB / 0.556 GB, free: 36.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03402/0.3795, allocations: 37.23 MB / 0.5924 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01956/0.3991, allocations: 12.94 MB / 0.605 GB, free: 1.539 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004522/0.4037, allocations: 155.3 kB / 0.6052 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009429/0.4131, allocations: 3.622 MB / 0.6087 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007307/0.4205, allocations: 2.315 MB / 0.611 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007872/0.4284, allocations: 2.465 MB / 0.6134 GB, free: 9.793 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01197/0.4403, allocations: 9.616 MB / 0.6228 GB, free: 156 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0213/0.4617, allocations: 12.75 MB / 0.6352 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007688/0.4694, allocations: 4.061 MB / 0.6392 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007664/0.4771, allocations: 4.58 MB / 0.6437 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002122/0.4793, allocations: 0.7695 MB / 0.6444 GB, free: 9.844 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00489/0.4842, allocations: 1.783 MB / 0.6462 GB, free: 8.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004629/0.4888, allocations: 3.04 MB / 0.6491 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007675/0.4965, allocations: 3.587 MB / 0.6526 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.5101, allocations: 11.87 MB / 0.6642 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.5101, allocations: 0 / 0.6642 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5101, allocations: 3.938 kB / 0.6642 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002464/0.5104, allocations: 0 / 0.6642 GB, free: 5.504 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01245/0.5228, allocations: 6.354 MB / 0.6704 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5229, allocations: 8.031 kB / 0.6704 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00104/0.5239, allocations: 0.7519 MB / 0.6712 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00769/0.5316, allocations: 1.301 MB / 0.6724 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006178/0.5378, allocations: 3.564 MB / 0.6759 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.5381, allocations: 390.4 kB / 0.6763 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008576/0.539, allocations: 0.4962 MB / 0.6768 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01588/0.5548, allocations: 8.89 MB / 0.6855 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/0.555, allocations: 19.78 kB / 0.6855 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005761/0.5556, allocations: 227.9 kB / 0.6857 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002138/0.5577, allocations: 0.6304 MB / 0.6863 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.57, allocations: 7.018 MB / 0.6932 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05003/0.6201, allocations: 40.33 MB / 0.7325 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004332/0.6245, allocations: 2.89 MB / 0.7354 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004153/0.6287, allocations: 2.671 MB / 0.738 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.629, allocations: 30.09 kB / 0.738 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/0.629, allocations: 64.59 kB / 0.7381 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 7.504e-06/0.6291, allocations: 0 / 0.7381 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.49/1.119, allocations: 74.72 MB / 0.811 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/1.119, allocations: 102.7 kB / 0.8111 GB, free: 115.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/1.122, allocations: 2.352 MB / 0.8134 GB, free: 113.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006922/1.123, allocations: 97.7 kB / 0.8135 GB, free: 113.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009429/1.124, allocations: 2.34 MB / 0.8158 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00128/1.125, allocations: 1.441 MB / 0.8172 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00182/1.127, allocations: 0.7215 MB / 0.8179 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.162e-05/1.127, allocations: 301.1 kB / 0.8182 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003716/1.131, allocations: 2.999 MB / 0.8211 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003982/1.135, allocations: 3.843 MB / 0.8249 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008337/1.143, allocations: 7.376 MB / 0.8321 GB, free: 93.53 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-05/1.143, allocations: 12 kB / 0.8321 GB, free: 93.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02501/1.168, allocations: 12.56 MB / 0.8444 GB, free: 80.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.863e-05/1.168, allocations: 16 kB / 0.8444 GB, free: 80.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-05/1.168, allocations: 20 kB / 0.8444 GB, free: 80.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01987/1.188, allocations: 6.072 MB / 0.8503 GB, free: 74.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/1.19, allocations: 494.5 kB / 0.8508 GB, free: 74.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06738/1.258, allocations: 73.04 MB / 0.9221 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003956/1.262, allocations: 219.8 kB / 0.9223 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009061/1.262, allocations: 156 kB / 0.9225 GB, free: 13.53 MB / 0.5919 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003929/1.266, allocations: 1.992 MB / 0.9244 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/1.268, allocations: 391.4 kB / 0.9248 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02719/1.295, allocations: 12.23 MB / 0.9367 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.528e-05/1.295, allocations: 45.91 kB / 0.9368 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001336/1.295, allocations: 48 kB / 0.9368 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.163e-05/1.295, allocations: 23.92 kB / 0.9369 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04128/1.336, allocations: 19.14 MB / 0.9555 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.102e-05/1.336, allocations: 8.156 kB / 0.9556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/1.338, allocations: 295.5 kB / 0.9558 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02012/1.358, allocations: 5.624 MB / 0.9613 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008082/1.359, allocations: 80 kB / 0.9614 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2969/1.656, allocations: 70.65 MB / 1.03 GB, free: 163.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/1.656, allocations: 11.75 kB / 1.03 GB, free: 163.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02735/1.683, allocations: 15.62 MB / 1.046 GB, free: 156.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/1.685, allocations: 1.046 MB / 1.047 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005556/1.686, allocations: 87.81 kB / 1.047 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/1.688, allocations: 211.9 kB / 1.047 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001347/1.689, allocations: 407.7 kB / 1.047 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/1.69, allocations: 114.1 kB / 1.047 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001593/1.691, allocations: 1.555 MB / 1.049 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/1.691, allocations: 0 / 1.049 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004299/1.696, allocations: 1.859 MB / 1.051 GB, free: 155.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02481/1.72, allocations: 16.3 MB / 1.067 GB, free: 146.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02196/1.742, allocations: 14.97 MB / 1.081 GB, free: 132.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.742, allocations: 4 kB / 1.081 GB, free: 132.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01196/1.754, allocations: 8.353 MB / 1.089 GB, free: 124.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004872/1.759, allocations: 1.19 MB / 1.091 GB, free: 123.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0989/1.858, allocations: 62.7 MB / 1.152 GB, free: 57.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004602/1.863, allocations: 4.086 MB / 1.156 GB, free: 52.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002544/1.865, allocations: 0.6708 MB / 1.157 GB, free: 52.22 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002017/1.867, allocations: 2.128 MB / 1.159 GB, free: 50.09 MB / 0.6387 GB Notification: Performance of SimCode: time 1.022e-06/1.867, allocations: 0 / 1.159 GB, free: 50.09 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4936/2.361, allocations: 152.1 MB / 1.307 GB, free: 156.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/2.361, allocations: 244.1 kB / 1.307 GB, free: 156.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.21/7.572, allocations: 4 kB / 1.307 GB, free: 156.4 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)