Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.004463/0.004463, allocations: 100.7 kB / 15.87 MB, free: 6.293 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.0009612/0.0009613, allocations: 198.3 kB / 16.79 MB, free: 6.223 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.206/1.206, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6219/0.6219, allocations: 115.3 MB / 406 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 75.48 kB / 493 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1323, allocations: 76.18 MB / 0.5559 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.2727/0.4051, allocations: 33 MB / 0.5881 GB, free: 16.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01878/0.4239, allocations: 14.79 MB / 0.6025 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003634/0.4275, allocations: 143.3 kB / 0.6027 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007362/0.4349, allocations: 3.395 MB / 0.606 GB, free: 9.484 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00735/0.4423, allocations: 2.683 MB / 0.6086 GB, free: 7.895 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005324/0.4476, allocations: 2.131 MB / 0.6107 GB, free: 6.629 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01276/0.4604, allocations: 12.2 MB / 0.6226 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01518/0.4756, allocations: 10.35 MB / 0.6327 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006169/0.4818, allocations: 3.437 MB / 0.6361 GB, free: 7.039 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006469/0.4883, allocations: 4.1 MB / 0.6401 GB, free: 2.926 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00193/0.4903, allocations: 488 kB / 0.6405 GB, free: 2.449 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005035/0.4953, allocations: 1.739 MB / 0.6422 GB, free: 0.707 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003773/0.4991, allocations: 2.588 MB / 0.6448 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00521/0.5043, allocations: 3.115 MB / 0.6478 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.5145, allocations: 10.99 MB / 0.6585 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.5145, allocations: 4 kB / 0.6585 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5145, allocations: 4 kB / 0.6585 GB, free: 15.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002561/0.5148, allocations: 0 / 0.6585 GB, free: 15.95 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01117/0.526, allocations: 5.975 MB / 0.6644 GB, free: 9.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.526, allocations: 12.03 kB / 0.6644 GB, free: 9.887 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009211/0.527, allocations: 0.7271 MB / 0.6651 GB, free: 9.148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006214/0.5332, allocations: 1.145 MB / 0.6662 GB, free: 7.996 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005696/0.5389, allocations: 3.325 MB / 0.6695 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/0.5391, allocations: 378.6 kB / 0.6698 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000779/0.5399, allocations: 0.4919 MB / 0.6703 GB, free: 3.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/0.5513, allocations: 8.001 MB / 0.6781 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.504e-05/0.5514, allocations: 27.83 kB / 0.6781 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004437/0.5519, allocations: 216 kB / 0.6784 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009138/0.5528, allocations: 433.6 kB / 0.6788 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008529/0.5613, allocations: 6.085 MB / 0.6847 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03231/0.5937, allocations: 35.16 MB / 0.719 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/0.596, allocations: 2.014 MB / 0.721 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/0.5982, allocations: 1.865 MB / 0.7228 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.5983, allocations: 21.98 kB / 0.7228 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.5984, allocations: 64.44 kB / 0.7229 GB, free: 10.37 MB / 0.545 GB Notification: Performance of pre-optimization done (n=171): time 2.955e-06/0.5984, allocations: 0 / 0.7229 GB, free: 10.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=276): time 0.1315/0.7299, allocations: 38.88 MB / 0.7609 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.7299, allocations: 77.58 kB / 0.761 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/0.7327, allocations: 2.282 MB / 0.7632 GB, free: 1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002181/0.7329, allocations: 73.7 kB / 0.7633 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.7341, allocations: 2.272 MB / 0.7655 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006587/0.7348, allocations: 0.9318 MB / 0.7664 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008262/0.7356, allocations: 0.5101 MB / 0.7669 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.77e-05/0.7357, allocations: 305.1 kB / 0.7672 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002489/0.7382, allocations: 1.969 MB / 0.7691 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002861/0.7411, allocations: 2.606 MB / 0.7716 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00563/0.7467, allocations: 4.925 MB / 0.7765 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.7467, allocations: 12 kB / 0.7765 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01304/0.7598, allocations: 7.754 MB / 0.784 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.7598, allocations: 15.94 kB / 0.7841 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.7598, allocations: 16 kB / 0.7841 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00834/0.7682, allocations: 3.213 MB / 0.7872 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.7697, allocations: 403.3 kB / 0.7876 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03655/0.8062, allocations: 31.08 MB / 0.8179 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/0.8086, allocations: 159.8 kB / 0.8181 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/0.8089, allocations: 104 kB / 0.8182 GB, free: 7.18 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002517/0.8114, allocations: 1.805 MB / 0.82 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004913/0.8119, allocations: 332.1 kB / 0.8203 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2005/1.012, allocations: 7.349 MB / 0.8275 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-05/1.012, allocations: 27.22 kB / 0.8275 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.267e-05/1.012, allocations: 29.44 kB / 0.8275 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.575e-05/1.013, allocations: 21.47 kB / 0.8275 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/1.032, allocations: 12.93 MB / 0.8402 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.032, allocations: 7.188 kB / 0.8402 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008017/1.033, allocations: 230.8 kB / 0.8404 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007003/1.04, allocations: 2.852 MB / 0.8432 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/1.04, allocations: 52.78 kB / 0.8432 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02943/1.069, allocations: 29.9 MB / 0.8724 GB, free: 189.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/1.069, allocations: 11.69 kB / 0.8724 GB, free: 189.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009593/1.079, allocations: 6.88 MB / 0.8791 GB, free: 185.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/1.08, allocations: 0.7793 MB / 0.8799 GB, free: 184.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003816/1.081, allocations: 53.56 kB / 0.88 GB, free: 184.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.082, allocations: 172.7 kB / 0.8801 GB, free: 184.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006583/1.083, allocations: 250.7 kB / 0.8804 GB, free: 184.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/1.083, allocations: 84.72 kB / 0.8804 GB, free: 184.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001584/1.084, allocations: 1.522 MB / 0.8819 GB, free: 183.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/1.084, allocations: 0 / 0.8819 GB, free: 183.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002755/1.087, allocations: 1.372 MB / 0.8833 GB, free: 183.7 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008834/1.096, allocations: 7.515 MB / 0.8906 GB, free: 176.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007795/1.104, allocations: 6.893 MB / 0.8973 GB, free: 169.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/1.104, allocations: 192 / 0.8973 GB, free: 169.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005165/1.109, allocations: 4.403 MB / 0.9016 GB, free: 165 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003156/1.112, allocations: 1.04 MB / 0.9026 GB, free: 164 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04908/1.161, allocations: 46.04 MB / 0.9476 GB, free: 115.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002548/1.164, allocations: 3.651 MB / 0.9512 GB, free: 111.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001543/1.165, allocations: 0.5556 MB / 0.9517 GB, free: 111 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/1.167, allocations: 1.972 MB / 0.9536 GB, free: 109.1 MB / 0.6387 GB Notification: Performance of SimCode: time 4e-07/1.167, allocations: 0 / 0.9536 GB, free: 109.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.492/6.658, allocations: 110 MB / 1.061 GB, free: 192 kB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/6.659, allocations: 241.6 kB / 1.061 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.569/11.23, allocations: 3.125 kB / 1.061 GB, free: 15.93 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)