Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.001571/0.001571, allocations: 103.7 kB / 16.27 MB, free: 6.41 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.001776/0.001776, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.283/1.283, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7007/0.7007, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.89 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2956, allocations: 77.91 MB / 0.5673 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02689/0.3225, allocations: 32.59 MB / 0.5991 GB, free: 9.551 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.3346, allocations: 10.27 MB / 0.6091 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.3368, allocations: 147.2 kB / 0.6093 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008348/0.3452, allocations: 3.724 MB / 0.6129 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004519/0.3497, allocations: 1.859 MB / 0.6147 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004431/0.3541, allocations: 2.12 MB / 0.6168 GB, free: 7.992 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006911/0.3611, allocations: 7.332 MB / 0.624 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01038/0.3714, allocations: 9.482 MB / 0.6332 GB, free: 7.082 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003767/0.3752, allocations: 3.163 MB / 0.6363 GB, free: 3.91 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004396/0.3796, allocations: 3.485 MB / 0.6397 GB, free: 424 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0013/0.3809, allocations: 0.6446 MB / 0.6404 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.384, allocations: 1.767 MB / 0.6421 GB, free: 14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001891/0.3859, allocations: 2.542 MB / 0.6446 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002476/0.3884, allocations: 2.894 MB / 0.6474 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007285/0.3957, allocations: 10.05 MB / 0.6572 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3957, allocations: 0 / 0.6572 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3957, allocations: 0 / 0.6572 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001073/0.3958, allocations: 4 kB / 0.6572 GB, free: 14.46 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.007112/0.4029, allocations: 4.998 MB / 0.6621 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.403, allocations: 12.62 kB / 0.6621 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007435/0.4037, allocations: 0.6781 MB / 0.6628 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004389/0.4081, allocations: 0.9629 MB / 0.6637 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003734/0.4119, allocations: 2.855 MB / 0.6665 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/0.4121, allocations: 349.7 kB / 0.6668 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005777/0.4126, allocations: 464.2 kB / 0.6673 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009572/0.4222, allocations: 7.663 MB / 0.6748 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.786e-05/0.4223, allocations: 27.62 kB / 0.6748 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004/0.4227, allocations: 208 kB / 0.675 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002798/0.423, allocations: 312.9 kB / 0.6753 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007827/0.4309, allocations: 5.706 MB / 0.6808 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03256/0.4634, allocations: 35.09 MB / 0.7151 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002521/0.466, allocations: 2.156 MB / 0.7172 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.4675, allocations: 1.272 MB / 0.7185 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.159e-05/0.4676, allocations: 13.31 kB / 0.7185 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.4676, allocations: 43.88 kB / 0.7185 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.145e-06/0.4676, allocations: 0 / 0.7185 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.0129/0.4805, allocations: 7.081 MB / 0.7254 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.4806, allocations: 72.66 kB / 0.7255 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.4826, allocations: 1.484 MB / 0.7269 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.803e-05/0.4827, allocations: 53.7 kB / 0.727 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.4839, allocations: 2 MB / 0.729 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000429/0.4843, allocations: 485 kB / 0.7294 GB, free: 292 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000543/0.4849, allocations: 355.1 kB / 0.7298 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.485, allocations: 301.1 kB / 0.73 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.4862, allocations: 0.9135 MB / 0.7309 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.4878, allocations: 1.593 MB / 0.7325 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003018/0.4909, allocations: 2.737 MB / 0.7352 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.4909, allocations: 8 kB / 0.7352 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00569/0.4966, allocations: 3.53 MB / 0.7386 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.4966, allocations: 12 kB / 0.7386 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/0.4967, allocations: 28.81 kB / 0.7387 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00237/0.499, allocations: 0.9116 MB / 0.7395 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.5002, allocations: 351.3 kB / 0.7399 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2547/0.7548, allocations: 23.11 MB / 0.7624 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.7564, allocations: 102.8 kB / 0.7625 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.7566, allocations: 94.48 kB / 0.7626 GB, free: 137 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002525/0.7591, allocations: 1.603 MB / 0.7642 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003629/0.7595, allocations: 204.1 kB / 0.7644 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005057/0.7645, allocations: 2.989 MB / 0.7673 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.7645, allocations: 17.75 kB / 0.7673 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/0.7646, allocations: 10.67 kB / 0.7673 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.7646, allocations: 6.781 kB / 0.7674 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009866/0.7745, allocations: 7.353 MB / 0.7745 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.7745, allocations: 4.5 kB / 0.7745 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007052/0.7752, allocations: 181.1 kB / 0.7747 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002064/0.7773, allocations: 0.8265 MB / 0.7755 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.681e-05/0.7774, allocations: 31.19 kB / 0.7755 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/0.7922, allocations: 21.94 MB / 0.797 GB, free: 112.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.7922, allocations: 5.594 kB / 0.797 GB, free: 112.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004402/0.7966, allocations: 3.032 MB / 0.7999 GB, free: 110.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006668/0.7973, allocations: 458.2 kB / 0.8004 GB, free: 110.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.7975, allocations: 27.75 kB / 0.8004 GB, free: 110.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007347/0.7983, allocations: 74.22 kB / 0.8005 GB, free: 110.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003324/0.7986, allocations: 126.2 kB / 0.8006 GB, free: 110.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.7987, allocations: 34.59 kB / 0.8006 GB, free: 110.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00111/0.7998, allocations: 0.9793 MB / 0.8016 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.61e-07/0.7998, allocations: 0 / 0.8016 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002704/0.8025, allocations: 0.7938 MB / 0.8024 GB, free: 109.7 MB / 0.5762 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004067/0.8066, allocations: 3.606 MB / 0.8059 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005642/0.8123, allocations: 4.651 MB / 0.8104 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.8123, allocations: 4 kB / 0.8104 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002805/0.8151, allocations: 2.739 MB / 0.8131 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/0.8179, allocations: 0.7311 MB / 0.8138 GB, free: 99.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02551/0.8435, allocations: 23.83 MB / 0.8371 GB, free: 74.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002265/0.8458, allocations: 3.109 MB / 0.8401 GB, free: 71.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001164/0.8469, allocations: 465.9 kB / 0.8406 GB, free: 70.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.8481, allocations: 1.538 MB / 0.8421 GB, free: 69.16 MB / 0.5762 GB Notification: Performance of SimCode: time 1.333e-06/0.8481, allocations: 0 / 0.8421 GB, free: 69.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.988/2.836, allocations: 60.24 MB / 0.9009 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/17.81, allocations: 5.141 kB / 0.9009 GB, free: 9.555 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)