Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_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.0009977/0.0009978, allocations: 105.4 kB / 15.98 MB, free: 6.348 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.001047/0.001047, allocations: 195 kB / 16.91 MB, free: 6.18 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.261/1.261, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6667/0.6667, allocations: 115.3 MB / 406.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3084, allocations: 76.17 MB / 0.556 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01211/0.3206, allocations: 13.95 MB / 0.5696 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.3318, allocations: 9.297 MB / 0.5787 GB, free: 19.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.3331, allocations: 55.31 kB / 0.5788 GB, free: 19.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003519/0.3367, allocations: 1.578 MB / 0.5803 GB, free: 18.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003995/0.3407, allocations: 1.403 MB / 0.5817 GB, free: 18.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.3425, allocations: 0.6976 MB / 0.5824 GB, free: 17.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002959/0.3455, allocations: 2.524 MB / 0.5848 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.3473, allocations: 1.577 MB / 0.5864 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.3493, allocations: 1.057 MB / 0.5874 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/0.3514, allocations: 1.186 MB / 0.5886 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000294/0.3517, allocations: 164.2 kB / 0.5887 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.3535, allocations: 0.7895 MB / 0.5895 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007597/0.3543, allocations: 0.6203 MB / 0.5901 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.3558, allocations: 0.9418 MB / 0.591 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003699/0.3595, allocations: 2.779 MB / 0.5937 GB, free: 12.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3596, allocations: 0 / 0.5937 GB, free: 12.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3596, allocations: 0 / 0.5937 GB, free: 12.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.239e-05/0.3596, allocations: 3.984 kB / 0.5937 GB, free: 12.03 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003778/0.3634, allocations: 2.139 MB / 0.5958 GB, free: 10.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3634, allocations: 9.812 kB / 0.5958 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002038/0.3636, allocations: 194.5 kB / 0.596 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.3742, allocations: 2.086 MB / 0.5981 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002157/0.3763, allocations: 1.2 MB / 0.5992 GB, free: 8.211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/0.3764, allocations: 94.67 kB / 0.5993 GB, free: 8.117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.3766, allocations: 119.8 kB / 0.5994 GB, free: 8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004498/0.3811, allocations: 2.674 MB / 0.602 GB, free: 5.176 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/0.3812, allocations: 11.92 kB / 0.6021 GB, free: 5.164 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/0.3813, allocations: 59.98 kB / 0.6021 GB, free: 5.105 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000498/0.3818, allocations: 174.1 kB / 0.6023 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005994/0.3878, allocations: 2.799 MB / 0.605 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/0.4007, allocations: 10.52 MB / 0.6153 GB, free: 7.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006235/0.407, allocations: 2.522 MB / 0.6177 GB, free: 4.434 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002895/0.4099, allocations: 1.284 MB / 0.619 GB, free: 3.145 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.065e-05/0.41, allocations: 9 kB / 0.619 GB, free: 3.137 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.41, allocations: 47.5 kB / 0.6191 GB, free: 3.082 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 4.689e-06/0.4101, allocations: 7.938 kB / 0.6191 GB, free: 3.074 MB / 462.1 MB Notification: Performance of matching and sorting (n=131): time 0.04383/0.4539, allocations: 13.35 MB / 0.6321 GB, free: 5.504 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.454, allocations: 64.72 kB / 0.6322 GB, free: 5.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.4556, allocations: 1.125 MB / 0.6333 GB, free: 4.289 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.4557, allocations: 49.7 kB / 0.6333 GB, free: 4.234 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005149/0.4563, allocations: 0.7078 MB / 0.634 GB, free: 3.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004842/0.4568, allocations: 465.4 kB / 0.6344 GB, free: 3.059 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000535/0.4573, allocations: 259.4 kB / 0.6347 GB, free: 2.801 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4574, allocations: 361.9 kB / 0.635 GB, free: 2.441 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003141/0.4606, allocations: 1.335 MB / 0.6363 GB, free: 1.105 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003396/0.464, allocations: 1.612 MB / 0.6379 GB, free: 15.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006254/0.4703, allocations: 2.991 MB / 0.6408 GB, free: 12.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.4703, allocations: 0 / 0.6408 GB, free: 12.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01091/0.4812, allocations: 4.442 MB / 0.6452 GB, free: 7.812 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.4813, allocations: 11.98 kB / 0.6452 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.4813, allocations: 8.875 kB / 0.6452 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005147/0.4864, allocations: 1.438 MB / 0.6466 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/0.4884, allocations: 435.2 kB / 0.647 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0251/0.5135, allocations: 26.69 MB / 0.6731 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.516, allocations: 311.5 kB / 0.6734 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/0.5162, allocations: 59.97 kB / 0.6734 GB, free: 9.016 MB / 0.5137 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000851/0.5171, allocations: 434.3 kB / 0.6738 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003871/0.5175, allocations: 170 kB / 0.674 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.5284, allocations: 4.457 MB / 0.6783 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.5284, allocations: 16 kB / 0.6784 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.842e-05/0.5285, allocations: 12 kB / 0.6784 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.5285, allocations: 8.156 kB / 0.6784 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/0.5434, allocations: 6.782 MB / 0.685 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.5434, allocations: 7.938 kB / 0.685 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/0.5451, allocations: 375.4 kB / 0.6854 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00445/0.5495, allocations: 1.312 MB / 0.6867 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/0.5497, allocations: 43.95 kB / 0.6867 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0229/0.5726, allocations: 25.5 MB / 0.7116 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.5726, allocations: 7.938 kB / 0.7116 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009921/0.5826, allocations: 4.2 MB / 0.7157 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009514/0.5835, allocations: 462.9 kB / 0.7161 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004454/0.584, allocations: 24 kB / 0.7162 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/0.586, allocations: 307.5 kB / 0.7165 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004079/0.5864, allocations: 128.7 kB / 0.7166 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.5866, allocations: 47.97 kB / 0.7166 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001126/0.5877, allocations: 0.7604 MB / 0.7174 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5877, allocations: 0 / 0.7174 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002121/0.5898, allocations: 0.5664 MB / 0.7179 GB, free: 9.211 MB / 0.5606 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01005/0.5999, allocations: 4.78 MB / 0.7226 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01151/0.6114, allocations: 5.525 MB / 0.728 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.6115, allocations: 0 / 0.728 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006326/0.6178, allocations: 3.499 MB / 0.7314 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.6205, allocations: 0.5479 MB / 0.7319 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2428/0.8633, allocations: 20.91 MB / 0.7524 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.8647, allocations: 1.479 MB / 0.7538 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00175/0.8664, allocations: 426.9 kB / 0.7542 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007529/0.8672, allocations: 0.6298 MB / 0.7548 GB, free: 155 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.8672, allocations: 0 / 0.7548 GB, free: 155 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4653/1.333, allocations: 51.42 MB / 0.805 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/1.333, allocations: 237 kB / 0.8053 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.134/5.466, allocations: 0 / 0.8053 GB, free: 124.2 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)