Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.004151/0.004151, allocations: 101.8 kB / 15.88 MB, free: 6.312 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.0009333/0.0009333, allocations: 195.5 kB / 16.79 MB, free: 6.242 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.188/1.188, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6153/0.6153, allocations: 115.3 MB / 405.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 60.09 kB / 493 MB, free: 6.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1284, allocations: 76.19 MB / 0.5559 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.2704/0.3989, allocations: 34.78 MB / 0.5898 GB, free: 18.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01512/0.414, allocations: 9.905 MB / 0.5995 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003534/0.4176, allocations: 129.6 kB / 0.5996 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008026/0.4257, allocations: 3.55 MB / 0.6031 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005643/0.4313, allocations: 1.916 MB / 0.605 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004847/0.4362, allocations: 1.783 MB / 0.6067 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01117/0.4474, allocations: 11.19 MB / 0.6176 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0138/0.4612, allocations: 10.71 MB / 0.6281 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005637/0.4669, allocations: 2.872 MB / 0.6309 GB, free: 13 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00561/0.4725, allocations: 3.797 MB / 0.6346 GB, free: 9.195 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001566/0.4741, allocations: 468 kB / 0.635 GB, free: 8.738 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003997/0.4781, allocations: 1.447 MB / 0.6365 GB, free: 7.289 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003516/0.4816, allocations: 2.397 MB / 0.6388 GB, free: 4.887 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006187/0.4878, allocations: 2.847 MB / 0.6416 GB, free: 2.027 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009743/0.4976, allocations: 10.19 MB / 0.6515 GB, free: 7.805 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4976, allocations: 3.938 kB / 0.6515 GB, free: 7.801 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4976, allocations: 0 / 0.6515 GB, free: 7.801 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002645/0.4979, allocations: 0 / 0.6515 GB, free: 7.801 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01025/0.5081, allocations: 5.405 MB / 0.6568 GB, free: 2.324 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.5082, allocations: 8.031 kB / 0.6568 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008773/0.5091, allocations: 0.7062 MB / 0.6575 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004138/0.5132, allocations: 0.9626 MB / 0.6585 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004299/0.5175, allocations: 2.995 MB / 0.6614 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/0.5177, allocations: 357.9 kB / 0.6617 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006366/0.5184, allocations: 464.3 kB / 0.6622 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/0.5296, allocations: 7.918 MB / 0.6699 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.121e-05/0.5297, allocations: 19.78 kB / 0.6699 GB, free: 4.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004404/0.5302, allocations: 212 kB / 0.6701 GB, free: 4.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004636/0.5306, allocations: 369 kB / 0.6705 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008447/0.5391, allocations: 5.937 MB / 0.6763 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03088/0.57, allocations: 36.21 MB / 0.7116 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002851/0.5729, allocations: 2.135 MB / 0.7137 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.5746, allocations: 1.478 MB / 0.7152 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.291e-05/0.5747, allocations: 17.31 kB / 0.7152 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.5747, allocations: 55.81 kB / 0.7152 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=157): time 4.369e-06/0.5747, allocations: 4 kB / 0.7152 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of matching and sorting (n=160): time 0.0119/0.5866, allocations: 7.536 MB / 0.7226 GB, free: 10.97 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.5867, allocations: 72.72 kB / 0.7227 GB, free: 10.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/0.5887, allocations: 1.856 MB / 0.7245 GB, free: 9.008 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.68e-05/0.5888, allocations: 57.7 kB / 0.7245 GB, free: 8.945 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.5899, allocations: 2.123 MB / 0.7266 GB, free: 6.797 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003751/0.5903, allocations: 0.5546 MB / 0.7271 GB, free: 6.234 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005221/0.5908, allocations: 407.7 kB / 0.7275 GB, free: 5.828 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.399e-05/0.5909, allocations: 301.1 kB / 0.7278 GB, free: 5.531 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.5922, allocations: 1.062 MB / 0.7289 GB, free: 4.465 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.594, allocations: 1.764 MB / 0.7306 GB, free: 2.383 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003241/0.5972, allocations: 3.045 MB / 0.7335 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.5972, allocations: 8 kB / 0.7336 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005564/0.6028, allocations: 3.917 MB / 0.7374 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.6028, allocations: 20.03 kB / 0.7374 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.6029, allocations: 20 kB / 0.7374 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002263/0.6051, allocations: 0.9428 MB / 0.7383 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.6065, allocations: 431.3 kB / 0.7388 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01669/0.6232, allocations: 21.04 MB / 0.7593 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.625, allocations: 139.8 kB / 0.7594 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.6252, allocations: 92 kB / 0.7595 GB, free: 2.742 MB / 0.5762 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002394/0.6276, allocations: 1.648 MB / 0.7611 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/0.6279, allocations: 253 kB / 0.7614 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004818/0.6327, allocations: 3.26 MB / 0.7646 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.6328, allocations: 16 kB / 0.7646 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.6328, allocations: 12 kB / 0.7646 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.6328, allocations: 11.91 kB / 0.7646 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009956/0.6428, allocations: 7.552 MB / 0.772 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.6428, allocations: 4 kB / 0.772 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008146/0.6436, allocations: 219.6 kB / 0.7722 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/0.6457, allocations: 0.8848 MB / 0.773 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.24e-05/0.6458, allocations: 35.94 kB / 0.7731 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/0.662, allocations: 21.02 MB / 0.7936 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.6621, allocations: 11.92 kB / 0.7936 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004845/0.6669, allocations: 3.371 MB / 0.7969 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008259/0.6678, allocations: 0.5292 MB / 0.7974 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/0.668, allocations: 35.98 kB / 0.7975 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008944/0.6689, allocations: 91.89 kB / 0.7975 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003161/0.6693, allocations: 144.9 kB / 0.7977 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.235e-05/0.6694, allocations: 44 kB / 0.7977 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001434/0.6708, allocations: 1.221 MB / 0.7989 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6708, allocations: 0 / 0.7989 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002277/0.6731, allocations: 0.9102 MB / 0.7998 GB, free: 7.465 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004738/0.6778, allocations: 3.995 MB / 0.8037 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005847/0.6837, allocations: 4.416 MB / 0.808 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6837, allocations: 0 / 0.808 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003686/0.6874, allocations: 2.993 MB / 0.8109 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/0.6905, allocations: 0.7668 MB / 0.8117 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2337/0.9242, allocations: 29.51 MB / 0.8405 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002932/0.9272, allocations: 3.208 MB / 0.8436 GB, free: 199.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001673/0.9289, allocations: 0.5233 MB / 0.8442 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/0.9303, allocations: 1.653 MB / 0.8458 GB, free: 198.2 MB / 0.6387 GB Notification: Performance of SimCode: time 7.01e-07/0.9303, allocations: 0 / 0.8458 GB, free: 198.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.527/5.457, allocations: 69.21 MB / 0.9134 GB, free: 145.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/5.458, allocations: 247.9 kB / 0.9136 GB, free: 145.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.882/10.34, allocations: 0 / 0.9136 GB, free: 145.4 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)