Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_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.001242/0.001242, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 205 kB / 16.79 MB, free: 6.84 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.219/1.219, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.625/0.625, allocations: 115.3 MB / 406 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.94 kB / 493 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1182, allocations: 76.19 MB / 0.5559 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.226/0.3442, allocations: 30.47 MB / 0.5856 GB, free: 16.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01583/0.3601, allocations: 13.55 MB / 0.5988 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.3621, allocations: 131.8 kB / 0.599 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005892/0.368, allocations: 2.967 MB / 0.6019 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006064/0.3741, allocations: 2.478 MB / 0.6043 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0044/0.3785, allocations: 1.838 MB / 0.6061 GB, free: 9.609 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009828/0.3883, allocations: 10.44 MB / 0.6163 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009667/0.398, allocations: 9.054 MB / 0.6251 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003985/0.402, allocations: 2.971 MB / 0.628 GB, free: 15.17 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003441/0.4055, allocations: 3.438 MB / 0.6314 GB, free: 11.72 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005658/0.406, allocations: 396 kB / 0.6318 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.4088, allocations: 1.529 MB / 0.6332 GB, free: 9.805 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001819/0.4106, allocations: 2.161 MB / 0.6354 GB, free: 7.656 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002443/0.4131, allocations: 2.648 MB / 0.6379 GB, free: 4.996 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006981/0.4201, allocations: 9.305 MB / 0.647 GB, free: 11.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4201, allocations: 4 kB / 0.647 GB, free: 11.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4201, allocations: 0 / 0.647 GB, free: 11.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001095/0.4202, allocations: 0 / 0.647 GB, free: 11.66 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.007972/0.4282, allocations: 5.136 MB / 0.652 GB, free: 6.453 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4282, allocations: 12.03 kB / 0.6521 GB, free: 6.441 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006988/0.4289, allocations: 0.6164 MB / 0.6527 GB, free: 5.812 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005198/0.4341, allocations: 0.998 MB / 0.6536 GB, free: 4.809 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00439/0.4385, allocations: 2.892 MB / 0.6565 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.4387, allocations: 313 kB / 0.6568 GB, free: 1.527 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005469/0.4393, allocations: 423.8 kB / 0.6572 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008776/0.4481, allocations: 6.788 MB / 0.6638 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.21e-05/0.4482, allocations: 27.72 kB / 0.6638 GB, free: 10 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003768/0.4485, allocations: 180 kB / 0.664 GB, free: 9.824 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007685/0.4493, allocations: 384 kB / 0.6644 GB, free: 9.445 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006752/0.4561, allocations: 5.114 MB / 0.6693 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02506/0.4812, allocations: 30.73 MB / 0.6994 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.4829, allocations: 1.391 MB / 0.7007 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.4844, allocations: 1.335 MB / 0.702 GB, free: 80 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.378e-05/0.4845, allocations: 17.31 kB / 0.702 GB, free: 64 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.4845, allocations: 47.88 kB / 0.7021 GB, free: 8 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=130): time 3.266e-06/0.4845, allocations: 0 / 0.7021 GB, free: 8 kB / 0.5137 GB Notification: Performance of matching and sorting (n=199): time 0.08041/0.5649, allocations: 23.08 MB / 0.7246 GB, free: 8.797 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.565, allocations: 69.41 kB / 0.7247 GB, free: 8.719 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/0.5676, allocations: 2.059 MB / 0.7267 GB, free: 6.645 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.5678, allocations: 61.7 kB / 0.7268 GB, free: 6.578 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.5689, allocations: 2.01 MB / 0.7287 GB, free: 4.543 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005003/0.5694, allocations: 0.6739 MB / 0.7294 GB, free: 3.859 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006737/0.5701, allocations: 412.1 kB / 0.7298 GB, free: 3.449 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.5702, allocations: 309.1 kB / 0.7301 GB, free: 3.145 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/0.5721, allocations: 1.43 MB / 0.7315 GB, free: 1.711 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/0.5743, allocations: 2.01 MB / 0.7334 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004244/0.5785, allocations: 3.704 MB / 0.737 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.5785, allocations: 4 kB / 0.7371 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01027/0.5888, allocations: 5.657 MB / 0.7426 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.5889, allocations: 18.02 kB / 0.7426 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.5889, allocations: 16 kB / 0.7426 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006584/0.5955, allocations: 2.08 MB / 0.7446 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.5969, allocations: 379.3 kB / 0.745 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03284/0.6298, allocations: 35.5 MB / 0.7797 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.6318, allocations: 127.8 kB / 0.7798 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/0.6321, allocations: 92 kB / 0.7799 GB, free: 13.12 MB / 0.6075 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.002238/0.6344, allocations: 1.506 MB / 0.7813 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005502/0.6349, allocations: 284.6 kB / 0.7816 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009494/0.6444, allocations: 5.216 MB / 0.7867 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.6445, allocations: 20 kB / 0.7867 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.35e-05/0.6445, allocations: 20 kB / 0.7867 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.6445, allocations: 15.89 kB / 0.7868 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/0.6604, allocations: 9.669 MB / 0.7962 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.6604, allocations: 7.938 kB / 0.7962 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000816/0.6612, allocations: 211.6 kB / 0.7964 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005815/0.667, allocations: 1.85 MB / 0.7982 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/0.6672, allocations: 40 kB / 0.7983 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2431/0.9103, allocations: 34.49 MB / 0.8319 GB, free: 199.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/0.9104, allocations: 15.22 kB / 0.832 GB, free: 199.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008357/0.9188, allocations: 4.917 MB / 0.8368 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.9199, allocations: 0.6123 MB / 0.8374 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003176/0.9202, allocations: 45.53 kB / 0.8374 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.9214, allocations: 132.8 kB / 0.8375 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005816/0.922, allocations: 191.1 kB / 0.8377 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.9222, allocations: 62.67 kB / 0.8378 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001826/0.924, allocations: 1.377 MB / 0.8391 GB, free: 198.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.7e-07/0.924, allocations: 5.75 kB / 0.8391 GB, free: 198.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003029/0.927, allocations: 1.047 MB / 0.8401 GB, free: 198.3 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008333/0.9354, allocations: 5.53 MB / 0.8455 GB, free: 195.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008412/0.9438, allocations: 6.254 MB / 0.8517 GB, free: 192 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.9438, allocations: 5.031 kB / 0.8517 GB, free: 192 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005466/0.9493, allocations: 4.404 MB / 0.856 GB, free: 189.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/0.953, allocations: 0.9143 MB / 0.8569 GB, free: 188.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04562/0.9986, allocations: 35.95 MB / 0.892 GB, free: 165.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003105/1.002, allocations: 3.119 MB / 0.895 GB, free: 163 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00175/1.004, allocations: 0.5238 MB / 0.8955 GB, free: 162.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/1.005, allocations: 1.671 MB / 0.8971 GB, free: 160.8 MB / 0.6387 GB Notification: Performance of SimCode: time 9.41e-07/1.005, allocations: 0 / 0.8971 GB, free: 160.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.29/3.295, allocations: 87.15 MB / 0.9823 GB, free: 74.73 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/3.295, allocations: 246.3 kB / 0.9825 GB, free: 74.46 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.901/7.196, allocations: 0 / 0.9825 GB, free: 74.46 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)