Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.00106/0.001065, allocations: 100.5 kB / 16.4 MB, free: 6.504 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.001148/0.001148, allocations: 196 kB / 17.34 MB, free: 5.742 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.189/1.189, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6373/0.6373, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 63.31 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1149, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01521/0.1301, allocations: 14.75 MB / 0.646 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01366/0.1438, allocations: 10.36 MB / 0.6561 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.145, allocations: 51.69 kB / 0.6562 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003922/0.149, allocations: 1.691 MB / 0.6578 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004512/0.1535, allocations: 1.854 MB / 0.6596 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.1553, allocations: 0.7601 MB / 0.6604 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003347/0.1586, allocations: 2.748 MB / 0.6631 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.1601, allocations: 1.415 MB / 0.6644 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.1622, allocations: 1.531 MB / 0.6659 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.1635, allocations: 1.167 MB / 0.6671 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.1637, allocations: 160 kB / 0.6672 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.165, allocations: 0.7838 MB / 0.668 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004811/0.1655, allocations: 0.6076 MB / 0.6686 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008062/0.1663, allocations: 0.96 MB / 0.6695 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.1689, allocations: 2.764 MB / 0.6722 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1689, allocations: 0 / 0.6722 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1689, allocations: 0 / 0.6722 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.305e-05/0.169, allocations: 4 kB / 0.6722 GB, free: 11.14 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003199/0.1722, allocations: 2.166 MB / 0.6743 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.1722, allocations: 8.031 kB / 0.6743 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/0.1724, allocations: 198.3 kB / 0.6745 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009983/0.1824, allocations: 2.105 MB / 0.6766 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.1849, allocations: 1.311 MB / 0.6779 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.185, allocations: 90.67 kB / 0.678 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.1852, allocations: 119.8 kB / 0.6781 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004857/0.1901, allocations: 2.674 MB / 0.6807 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.1901, allocations: 4 kB / 0.6807 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.1903, allocations: 47.98 kB / 0.6807 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005281/0.1908, allocations: 198.1 kB / 0.6809 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006688/0.1975, allocations: 2.795 MB / 0.6836 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.2105, allocations: 10.46 MB / 0.6939 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005538/0.2161, allocations: 2.348 MB / 0.6962 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002591/0.2187, allocations: 1.277 MB / 0.6974 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-05/0.2188, allocations: 9 kB / 0.6974 GB, free: 444 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.2188, allocations: 51.56 kB / 0.6975 GB, free: 384 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=89): time 2.535e-06/0.2188, allocations: 0 / 0.6975 GB, free: 384 kB / 0.5294 GB Notification: Performance of matching and sorting (n=153): time 0.05133/0.2702, allocations: 16.49 MB / 0.7136 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.2702, allocations: 68.72 kB / 0.7136 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.2716, allocations: 1.18 MB / 0.7148 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.2717, allocations: 49.7 kB / 0.7148 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/0.2721, allocations: 0.7436 MB / 0.7156 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/0.2725, allocations: 0.5121 MB / 0.7161 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000517/0.2731, allocations: 287.4 kB / 0.7163 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.537e-05/0.2732, allocations: 309.1 kB / 0.7166 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002962/0.2761, allocations: 1.507 MB / 0.7181 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003109/0.2792, allocations: 1.784 MB / 0.7198 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006203/0.2855, allocations: 3.369 MB / 0.7231 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.2855, allocations: 4 kB / 0.7231 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01175/0.2972, allocations: 5.273 MB / 0.7283 GB, free: 380 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.2973, allocations: 8 kB / 0.7283 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.2973, allocations: 8 kB / 0.7283 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00636/0.3037, allocations: 1.888 MB / 0.7301 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.3053, allocations: 411.3 kB / 0.7305 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2717/0.5771, allocations: 24.13 MB / 0.7541 GB, free: 95.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.5794, allocations: 308.9 kB / 0.7544 GB, free: 95.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.5796, allocations: 66.42 kB / 0.7545 GB, free: 95.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007719/0.5803, allocations: 468.1 kB / 0.7549 GB, free: 95.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/0.5806, allocations: 173.6 kB / 0.7551 GB, free: 95.53 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/0.593, allocations: 5.314 MB / 0.7603 GB, free: 93.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.5931, allocations: 14.28 kB / 0.7603 GB, free: 93.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-05/0.5931, allocations: 26.23 kB / 0.7603 GB, free: 93.83 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.5932, allocations: 14.22 kB / 0.7603 GB, free: 93.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/0.6073, allocations: 7.421 MB / 0.7676 GB, free: 91.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.6073, allocations: 6.219 kB / 0.7676 GB, free: 91.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.6087, allocations: 352.6 kB / 0.7679 GB, free: 91.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00512/0.6138, allocations: 1.705 MB / 0.7696 GB, free: 90.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.6139, allocations: 43.17 kB / 0.7696 GB, free: 90.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01937/0.6333, allocations: 23.31 MB / 0.7924 GB, free: 71.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.6334, allocations: 7.938 kB / 0.7924 GB, free: 71.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0096/0.643, allocations: 4.896 MB / 0.7972 GB, free: 66.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008214/0.6438, allocations: 494.8 kB / 0.7976 GB, free: 66.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.644, allocations: 31.98 kB / 0.7977 GB, free: 66.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/0.6457, allocations: 311.5 kB / 0.798 GB, free: 65.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004134/0.6462, allocations: 157 kB / 0.7981 GB, free: 65.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.6463, allocations: 51.97 kB / 0.7982 GB, free: 65.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007426/0.647, allocations: 0.7899 MB / 0.7989 GB, free: 64.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.647, allocations: 0 / 0.7989 GB, free: 64.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001686/0.6487, allocations: 0.6523 MB / 0.7996 GB, free: 64.08 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009573/0.6583, allocations: 5.479 MB / 0.8049 GB, free: 58.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009029/0.6674, allocations: 5.153 MB / 0.8099 GB, free: 53.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.487e-06/0.6674, allocations: 0 / 0.8099 GB, free: 53.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005301/0.6727, allocations: 3.347 MB / 0.8132 GB, free: 49.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.6747, allocations: 0.5557 MB / 0.8138 GB, free: 49.31 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03428/0.709, allocations: 21.85 MB / 0.8351 GB, free: 27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008809/0.7099, allocations: 1.571 MB / 0.8366 GB, free: 25.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001243/0.7111, allocations: 387 kB / 0.837 GB, free: 25.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006716/0.7118, allocations: 0.6554 MB / 0.8376 GB, free: 24.37 MB / 0.5762 GB Notification: Performance of SimCode: time 1.513e-06/0.7118, allocations: 0 / 0.8376 GB, free: 24.37 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08854/0.8004, allocations: 58.75 MB / 0.895 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.87/18.67, allocations: 6.438 kB / 0.895 GB, free: 14.29 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)