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.001498/0.001498, allocations: 102.4 kB / 16.4 MB, free: 6.496 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.001757/0.001757, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7175/0.7175, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 65.84 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1387, allocations: 76.18 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03753/0.1763, allocations: 35.1 MB / 0.6659 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01722/0.1936, allocations: 9.948 MB / 0.6756 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003194/0.1968, allocations: 151.2 kB / 0.6757 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009544/0.2064, allocations: 3.801 MB / 0.6795 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00607/0.2125, allocations: 2.032 MB / 0.6814 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005155/0.2177, allocations: 1.955 MB / 0.6833 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009595/0.2273, allocations: 7.978 MB / 0.6911 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01406/0.2414, allocations: 9.522 MB / 0.7004 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007459/0.2489, allocations: 3.42 MB / 0.7038 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007474/0.2565, allocations: 3.734 MB / 0.7074 GB, free: 6.957 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002406/0.2589, allocations: 0.6797 MB / 0.7081 GB, free: 6.277 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004314/0.2632, allocations: 1.443 MB / 0.7095 GB, free: 4.832 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004187/0.2675, allocations: 2.624 MB / 0.7121 GB, free: 2.203 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007064/0.2746, allocations: 3.108 MB / 0.7151 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01455/0.2891, allocations: 10.38 MB / 0.7252 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.2892, allocations: 0 / 0.7252 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2892, allocations: 0 / 0.7252 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000429/0.2897, allocations: 0 / 0.7252 GB, free: 4.672 MB / 0.5606 GB 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.01661/0.3063, allocations: 5.405 MB / 0.7305 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.3064, allocations: 8.031 kB / 0.7305 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002223/0.3086, allocations: 0.7101 MB / 0.7312 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005579/0.3142, allocations: 0.9548 MB / 0.7321 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007082/0.3213, allocations: 3.178 MB / 0.7352 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000373/0.3217, allocations: 353.9 kB / 0.7356 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001456/0.3232, allocations: 476.2 kB / 0.736 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01552/0.3387, allocations: 7.91 MB / 0.7438 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/0.3389, allocations: 19.81 kB / 0.7438 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000851/0.3398, allocations: 208 kB / 0.744 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004874/0.3402, allocations: 369.1 kB / 0.7443 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3447/0.6849, allocations: 5.934 MB / 0.7501 GB, free: 97.79 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03791/0.7229, allocations: 35.95 MB / 0.7852 GB, free: 66.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003371/0.7263, allocations: 2.14 MB / 0.7873 GB, free: 65.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/0.7282, allocations: 1.48 MB / 0.7888 GB, free: 65.04 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.432e-05/0.7283, allocations: 17.06 kB / 0.7888 GB, free: 65.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.246e-05/0.7284, allocations: 51.72 kB / 0.7888 GB, free: 64.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=157): time 4.218e-06/0.7284, allocations: 4 kB / 0.7888 GB, free: 64.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=160): time 0.01243/0.7408, allocations: 7.537 MB / 0.7962 GB, free: 60.11 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.7409, allocations: 71.97 kB / 0.7963 GB, free: 60.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.7428, allocations: 1.862 MB / 0.7981 GB, free: 59.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.7429, allocations: 53.48 kB / 0.7981 GB, free: 58.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007886/0.7437, allocations: 2.12 MB / 0.8002 GB, free: 56.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003208/0.7441, allocations: 0.5656 MB / 0.8008 GB, free: 56.33 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004744/0.7446, allocations: 399.8 kB / 0.8011 GB, free: 55.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.564e-05/0.7446, allocations: 309.1 kB / 0.8014 GB, free: 55.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.7458, allocations: 1.058 MB / 0.8025 GB, free: 54.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.7472, allocations: 1.76 MB / 0.8042 GB, free: 52.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/0.7498, allocations: 3.052 MB / 0.8072 GB, free: 49.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.7499, allocations: 8 kB / 0.8072 GB, free: 49.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005106/0.755, allocations: 3.917 MB / 0.811 GB, free: 45.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/0.755, allocations: 23.97 kB / 0.811 GB, free: 45.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.7551, allocations: 20.84 kB / 0.811 GB, free: 45.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/0.7571, allocations: 0.9414 MB / 0.812 GB, free: 44.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.7586, allocations: 427.3 kB / 0.8124 GB, free: 43.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/0.7727, allocations: 22.76 MB / 0.8346 GB, free: 19.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.7749, allocations: 123.9 kB / 0.8347 GB, free: 19.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003151/0.7752, allocations: 92 kB / 0.8348 GB, free: 19.08 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.002572/0.7778, allocations: 1.653 MB / 0.8364 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004983/0.7783, allocations: 253.1 kB / 0.8367 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004307/0.7826, allocations: 3.256 MB / 0.8398 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.7827, allocations: 16 kB / 0.8399 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.7827, allocations: 12 kB / 0.8399 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.7827, allocations: 7.969 kB / 0.8399 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.7934, allocations: 7.558 MB / 0.8473 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.7935, allocations: 4 kB / 0.8473 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000854/0.7943, allocations: 224.2 kB / 0.8475 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001927/0.7963, allocations: 0.8963 MB / 0.8483 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.7964, allocations: 36 kB / 0.8484 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01858/0.815, allocations: 22.72 MB / 0.8706 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.8151, allocations: 4 kB / 0.8706 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005491/0.8206, allocations: 3.379 MB / 0.8739 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/0.8221, allocations: 0.5292 MB / 0.8744 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003733/0.8225, allocations: 40 kB / 0.8744 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.8236, allocations: 87.89 kB / 0.8745 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004133/0.824, allocations: 146.2 kB / 0.8746 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.8241, allocations: 48 kB / 0.8747 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001686/0.8258, allocations: 1.221 MB / 0.8759 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.8258, allocations: 0 / 0.8759 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002836/0.8287, allocations: 0.9101 MB / 0.8768 GB, free: 6.078 MB / 0.6075 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.005177/0.8339, allocations: 3.98 MB / 0.8807 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00624/0.8401, allocations: 4.436 MB / 0.885 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.8402, allocations: 192 / 0.885 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004005/0.8442, allocations: 2.99 MB / 0.8879 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/0.8479, allocations: 0.8229 MB / 0.8887 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03964/0.8876, allocations: 25.04 MB / 0.9132 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004598/0.8923, allocations: 3.211 MB / 0.9163 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002156/0.8945, allocations: 0.5293 MB / 0.9168 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002136/0.8966, allocations: 1.651 MB / 0.9184 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of SimCode: time 7.91e-07/0.8966, allocations: 0 / 0.9184 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1323/1.029, allocations: 70.95 MB / 0.9877 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/15.31, allocations: 15.61 kB / 0.9877 GB, free: 3.824 MB / 0.7169 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)