Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.0009715/0.0009715, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007955/0.0007954, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.119/1.119, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6194/0.6194, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003146, allocations: 10.69 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1285, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02485/0.1534, allocations: 26.64 MB / 0.5828 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2442/0.3976, allocations: 12.57 MB / 0.595 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.4002, allocations: 118.7 kB / 0.5952 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.4019, allocations: 0.6323 MB / 0.5958 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006697/0.4086, allocations: 2.106 MB / 0.5978 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004137/0.4128, allocations: 1.219 MB / 0.599 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01159/0.4244, allocations: 4.014 MB / 0.6029 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01611/0.4406, allocations: 8.532 MB / 0.6113 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006673/0.4473, allocations: 2.295 MB / 0.6135 GB, free: 9.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004946/0.4523, allocations: 2.042 MB / 0.6155 GB, free: 8.629 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001366/0.4537, allocations: 243.8 kB / 0.6157 GB, free: 8.629 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.4571, allocations: 0.5971 MB / 0.6163 GB, free: 8.453 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002277/0.4594, allocations: 1.756 MB / 0.618 GB, free: 7.457 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.4615, allocations: 0.972 MB / 0.619 GB, free: 6.902 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007267/0.4687, allocations: 7.613 MB / 0.6264 GB, free: 1.324 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4688, allocations: 1.031 kB / 0.6264 GB, free: 1.324 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4688, allocations: 0 / 0.6264 GB, free: 1.324 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002593/0.469, allocations: 0 / 0.6264 GB, free: 1.324 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01002/0.4791, allocations: 4.175 MB / 0.6305 GB, free: 14.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4791, allocations: 8.5 kB / 0.6305 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002287/0.4814, allocations: 0.6217 MB / 0.6311 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0061/0.4875, allocations: 0.9747 MB / 0.6321 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006397/0.4939, allocations: 2.814 MB / 0.6348 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.4942, allocations: 316.5 kB / 0.6351 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/0.4953, allocations: 419.9 kB / 0.6355 GB, free: 9.895 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/0.5069, allocations: 6.717 MB / 0.6421 GB, free: 2.879 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.507, allocations: 23.72 kB / 0.6421 GB, free: 2.855 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004122/0.5074, allocations: 191.9 kB / 0.6423 GB, free: 2.668 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007962/0.5082, allocations: 368 kB / 0.6426 GB, free: 2.305 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007561/0.5158, allocations: 5.087 MB / 0.6476 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02857/0.5444, allocations: 30.78 MB / 0.6777 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.5462, allocations: 1.383 MB / 0.679 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.22e-05/0.5463, allocations: 13.31 kB / 0.679 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.5463, allocations: 51.88 kB / 0.6791 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 3.246e-06/0.5463, allocations: 0 / 0.6791 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=199): time 0.07874/0.6251, allocations: 22.78 MB / 0.7013 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.6252, allocations: 73.41 kB / 0.7014 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/0.6279, allocations: 2.039 MB / 0.7034 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002561/0.6281, allocations: 61.7 kB / 0.7034 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.6296, allocations: 2.018 MB / 0.7054 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007098/0.6303, allocations: 0.6739 MB / 0.7061 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.6304, allocations: 47.94 kB / 0.7061 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.6306, allocations: 394.6 kB / 0.7065 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.6327, allocations: 1.426 MB / 0.7079 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/0.635, allocations: 1.998 MB / 0.7098 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/0.6372, allocations: 1.728 MB / 0.7115 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-06/0.6372, allocations: 8 kB / 0.7115 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01012/0.6473, allocations: 5.63 MB / 0.717 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.6474, allocations: 12 kB / 0.717 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/0.6475, allocations: 16.09 kB / 0.717 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006338/0.6538, allocations: 2.087 MB / 0.7191 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.6554, allocations: 375.4 kB / 0.7194 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03487/0.6903, allocations: 36.27 MB / 0.7549 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.6931, allocations: 123.9 kB / 0.755 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003247/0.6935, allocations: 99.98 kB / 0.7551 GB, free: 9.398 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003018/0.6965, allocations: 1.508 MB / 0.7565 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005597/0.6971, allocations: 284.6 kB / 0.7568 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009214/0.7063, allocations: 5.192 MB / 0.7619 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.7064, allocations: 20 kB / 0.7619 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.191e-05/0.7064, allocations: 16 kB / 0.7619 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.7064, allocations: 7.969 kB / 0.7619 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.7225, allocations: 9.665 MB / 0.7714 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.7225, allocations: 8 kB / 0.7714 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000793/0.7233, allocations: 207.7 kB / 0.7716 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005241/0.7286, allocations: 1.846 MB / 0.7734 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/0.7287, allocations: 43.95 kB / 0.7734 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03124/0.76, allocations: 35.28 MB / 0.8079 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.76, allocations: 4 kB / 0.8079 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008664/0.7687, allocations: 5.427 MB / 0.8132 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001663/0.7704, allocations: 0.6225 MB / 0.8138 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003852/0.7708, allocations: 40 kB / 0.8138 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.7721, allocations: 127.8 kB / 0.8139 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005434/0.7726, allocations: 197.5 kB / 0.8141 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.7728, allocations: 60 kB / 0.8142 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001783/0.7746, allocations: 1.355 MB / 0.8155 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7746, allocations: 0 / 0.8155 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003346/0.7779, allocations: 1.047 MB / 0.8165 GB, free: 7.352 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2723/1.05, allocations: 7.676 MB / 0.824 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00954/1.06, allocations: 6.251 MB / 0.8301 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.06, allocations: 3.094 kB / 0.8301 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005938/1.066, allocations: 4.399 MB / 0.8344 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003726/1.07, allocations: 0.8835 MB / 0.8353 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04224/1.112, allocations: 36.88 MB / 0.8713 GB, free: 176.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002709/1.115, allocations: 3.203 MB / 0.8744 GB, free: 174.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001761/1.116, allocations: 0.5211 MB / 0.8749 GB, free: 174.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/1.118, allocations: 1.676 MB / 0.8766 GB, free: 173.3 MB / 0.6387 GB Notification: Performance of SimCode: time 8.62e-07/1.118, allocations: 0 / 0.8766 GB, free: 173.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9934/2.111, allocations: 85.58 MB / 0.9602 GB, free: 101.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/2.111, allocations: 220.8 kB / 0.9604 GB, free: 101 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.264/5.376, allocations: 0 / 0.9604 GB, free: 101 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: