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.001277/0.001277, allocations: 106 kB / 15.98 MB, free: 5.871 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.001368/0.001368, allocations: 188 kB / 16.91 MB, free: 5.738 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.298/1.298, allocations: 222.9 MB / 240.6 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6867/0.6867, allocations: 115.3 MB / 406.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 64.19 kB / 493.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1292, allocations: 76.19 MB / 0.5561 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.3035/0.4327, allocations: 32.28 MB / 0.5876 GB, free: 18.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.4482, allocations: 10.17 MB / 0.5975 GB, free: 16.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003291/0.4516, allocations: 135.6 kB / 0.5976 GB, free: 16.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00971/0.4613, allocations: 3.493 MB / 0.6011 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00536/0.4667, allocations: 1.703 MB / 0.6027 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005552/0.4722, allocations: 1.941 MB / 0.6046 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008695/0.481, allocations: 7.345 MB / 0.6118 GB, free: 8.871 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01723/0.4982, allocations: 11.6 MB / 0.6231 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005184/0.5034, allocations: 3.226 MB / 0.6263 GB, free: 1.566 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005775/0.5092, allocations: 3.656 MB / 0.6298 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00213/0.5114, allocations: 0.6484 MB / 0.6305 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005159/0.5166, allocations: 1.763 MB / 0.6322 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004294/0.5209, allocations: 2.554 MB / 0.6347 GB, free: 9.266 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005644/0.5265, allocations: 2.894 MB / 0.6375 GB, free: 6.359 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.538, allocations: 10.15 MB / 0.6474 GB, free: 12.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.5381, allocations: 0 / 0.6474 GB, free: 12.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5381, allocations: 0 / 0.6474 GB, free: 12.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002377/0.5383, allocations: 0 / 0.6474 GB, free: 12.18 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009685/0.548, allocations: 4.994 MB / 0.6523 GB, free: 7.117 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.5481, allocations: 15.97 kB / 0.6523 GB, free: 7.102 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009015/0.549, allocations: 0.682 MB / 0.653 GB, free: 6.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/0.5539, allocations: 0.9512 MB / 0.6539 GB, free: 5.453 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004929/0.5588, allocations: 2.859 MB / 0.6567 GB, free: 2.535 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/0.5591, allocations: 349.7 kB / 0.657 GB, free: 2.191 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007831/0.5598, allocations: 464.2 kB / 0.6575 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/0.5721, allocations: 7.663 MB / 0.665 GB, free: 9.727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001669/0.5723, allocations: 27.7 kB / 0.665 GB, free: 9.699 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005959/0.5729, allocations: 204 kB / 0.6652 GB, free: 9.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003341/0.5733, allocations: 309 kB / 0.6655 GB, free: 9.195 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009665/0.5829, allocations: 5.714 MB / 0.6711 GB, free: 3.465 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03441/0.6174, allocations: 35.09 MB / 0.7053 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00266/0.6201, allocations: 2.161 MB / 0.7074 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.6217, allocations: 1.265 MB / 0.7087 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.978e-05/0.6218, allocations: 13.31 kB / 0.7087 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.6218, allocations: 43.88 kB / 0.7087 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=133): time 4.498e-06/0.6218, allocations: 0 / 0.7087 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=136): time 0.01325/0.6351, allocations: 7.096 MB / 0.7157 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.6351, allocations: 72.7 kB / 0.7157 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/0.6373, allocations: 1.48 MB / 0.7172 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.6374, allocations: 45.7 kB / 0.7172 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.6387, allocations: 2.012 MB / 0.7192 GB, free: 14.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004461/0.6392, allocations: 485 kB / 0.7196 GB, free: 14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005523/0.6397, allocations: 351.2 kB / 0.72 GB, free: 13.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.6398, allocations: 305.1 kB / 0.7203 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.6411, allocations: 0.9135 MB / 0.7212 GB, free: 12.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.6427, allocations: 1.593 MB / 0.7227 GB, free: 10.53 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003131/0.6458, allocations: 2.733 MB / 0.7254 GB, free: 7.484 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.6459, allocations: 8 kB / 0.7254 GB, free: 7.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005791/0.6517, allocations: 3.53 MB / 0.7288 GB, free: 3.898 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.6517, allocations: 12 kB / 0.7289 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/0.6517, allocations: 32.06 kB / 0.7289 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002499/0.6542, allocations: 0.896 MB / 0.7298 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.6554, allocations: 351.4 kB / 0.7301 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02041/0.6758, allocations: 23.12 MB / 0.7527 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.6774, allocations: 99.95 kB / 0.7528 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002921/0.6777, allocations: 88 kB / 0.7529 GB, free: 9.602 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.002914/0.6806, allocations: 1.606 MB / 0.7544 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004546/0.6811, allocations: 213.5 kB / 0.7546 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005144/0.6863, allocations: 2.986 MB / 0.7575 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.6863, allocations: 16 kB / 0.7576 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-05/0.6863, allocations: 8 kB / 0.7576 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.6863, allocations: 7.969 kB / 0.7576 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/0.6989, allocations: 7.34 MB / 0.7647 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.6989, allocations: 4 kB / 0.7647 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007561/0.6997, allocations: 179.7 kB / 0.7649 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002349/0.7021, allocations: 0.8303 MB / 0.7657 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.7022, allocations: 31.98 kB / 0.7658 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01858/0.7208, allocations: 21.96 MB / 0.7872 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.7208, allocations: 8 kB / 0.7872 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005069/0.7259, allocations: 3.023 MB / 0.7902 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009841/0.7269, allocations: 458.4 kB / 0.7906 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003583/0.7273, allocations: 32 kB / 0.7906 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008866/0.7282, allocations: 67.91 kB / 0.7907 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003539/0.7285, allocations: 128.7 kB / 0.7908 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.417e-05/0.7286, allocations: 40 kB / 0.7909 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001394/0.73, allocations: 0.9717 MB / 0.7918 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.7e-07/0.73, allocations: 0 / 0.7918 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002768/0.7328, allocations: 0.7891 MB / 0.7926 GB, free: 14.74 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 (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.00503/0.7378, allocations: 3.614 MB / 0.7961 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006529/0.7444, allocations: 4.641 MB / 0.8006 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.7444, allocations: 8.188 kB / 0.8006 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00341/0.7478, allocations: 2.728 MB / 0.8033 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/0.7508, allocations: 0.7261 MB / 0.804 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2817/1.033, allocations: 25.75 MB / 0.8292 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003616/1.036, allocations: 3.108 MB / 0.8322 GB, free: 206.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001502/1.038, allocations: 446.1 kB / 0.8326 GB, free: 206.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/1.039, allocations: 1.538 MB / 0.8341 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/1.039, allocations: 0 / 0.8341 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09993/1.139, allocations: 60.4 MB / 0.8931 GB, free: 167.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001288/1.139, allocations: 242.1 kB / 0.8933 GB, free: 167.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.786/3.926, allocations: 4 kB / 0.8934 GB, free: 167.3 MB / 0.6387 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)