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.0007376/0.0007376, allocations: 92.88 kB / 16.02 MB, free: 84 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.0009065/0.0009066, allocations: 182 kB / 16.92 MB, free: 6.914 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.307/1.307, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.662/0.662, allocations: 115.5 MB / 407.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003623, allocations: 16.5 kB / 496 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1297, allocations: 77.53 MB / 0.5601 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.3105/0.4402, allocations: 29.69 MB / 0.5891 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01881/0.4591, allocations: 13.39 MB / 0.6021 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.4622, allocations: 120.9 kB / 0.6022 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002175/0.4643, allocations: 0.6607 MB / 0.6029 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007254/0.4716, allocations: 2.471 MB / 0.6053 GB, free: 10.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00449/0.4761, allocations: 1.705 MB / 0.607 GB, free: 9.754 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01115/0.4873, allocations: 10.44 MB / 0.6172 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01467/0.502, allocations: 10.19 MB / 0.6271 GB, free: 112 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004715/0.5067, allocations: 2.59 MB / 0.6296 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004919/0.5116, allocations: 2.942 MB / 0.6325 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.5127, allocations: 244 kB / 0.6327 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/0.5165, allocations: 1.384 MB / 0.6341 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002655/0.5191, allocations: 1.918 MB / 0.636 GB, free: 8.773 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004026/0.5232, allocations: 2.384 MB / 0.6383 GB, free: 6.371 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008666/0.5319, allocations: 9.017 MB / 0.6471 GB, free: 13.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5319, allocations: 3.938 kB / 0.6471 GB, free: 13.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5319, allocations: 0 / 0.6471 GB, free: 13.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001603/0.5321, allocations: 8 kB / 0.6471 GB, free: 13.31 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.007659/0.5397, allocations: 4.15 MB / 0.6512 GB, free: 9.086 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.5398, allocations: 8.031 kB / 0.6512 GB, free: 9.078 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009763/0.5408, allocations: 0.6164 MB / 0.6518 GB, free: 8.449 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0054/0.5462, allocations: 1.006 MB / 0.6528 GB, free: 7.438 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004809/0.551, allocations: 2.88 MB / 0.6556 GB, free: 4.477 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.5512, allocations: 321 kB / 0.6559 GB, free: 4.16 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006787/0.5519, allocations: 427.8 kB / 0.6563 GB, free: 3.742 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.562, allocations: 6.784 MB / 0.6629 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.711e-05/0.5621, allocations: 23.78 kB / 0.6629 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004211/0.5626, allocations: 184 kB / 0.6631 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008385/0.5634, allocations: 372 kB / 0.6635 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007823/0.5713, allocations: 5.118 MB / 0.6685 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0294/0.6007, allocations: 30.79 MB / 0.6985 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.6026, allocations: 1.391 MB / 0.6999 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.6043, allocations: 1.335 MB / 0.7012 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.055e-05/0.6043, allocations: 13.31 kB / 0.7012 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.6044, allocations: 51.88 kB / 0.7013 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=130): time 2.775e-06/0.6044, allocations: 4 kB / 0.7013 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=199): time 0.08549/0.6899, allocations: 22.8 MB / 0.7235 GB, free: 11.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.69, allocations: 77.41 kB / 0.7236 GB, free: 11.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.6927, allocations: 2.066 MB / 0.7256 GB, free: 9.484 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002173/0.693, allocations: 61.7 kB / 0.7257 GB, free: 9.418 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.6944, allocations: 2.006 MB / 0.7276 GB, free: 7.391 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006113/0.695, allocations: 0.6815 MB / 0.7283 GB, free: 6.699 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/0.6953, allocations: 182.3 kB / 0.7285 GB, free: 6.516 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.6954, allocations: 313 kB / 0.7288 GB, free: 6.207 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.6974, allocations: 1.433 MB / 0.7302 GB, free: 4.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.6997, allocations: 2.01 MB / 0.7321 GB, free: 2.508 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004584/0.7043, allocations: 3.692 MB / 0.7357 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.7044, allocations: 8 kB / 0.7357 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01056/0.7149, allocations: 5.661 MB / 0.7413 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.715, allocations: 12 kB / 0.7413 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/0.715, allocations: 20 kB / 0.7413 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006637/0.7217, allocations: 2.08 MB / 0.7433 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.7232, allocations: 375.4 kB / 0.7437 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03509/0.7583, allocations: 35.55 MB / 0.7784 GB, free: 364 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.7607, allocations: 135.8 kB / 0.7785 GB, free: 228 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.7609, allocations: 88 kB / 0.7786 GB, free: 140 kB / 0.5919 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.002425/0.7633, allocations: 1.506 MB / 0.7801 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003903/0.7637, allocations: 284.7 kB / 0.7804 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009655/0.7734, allocations: 5.215 MB / 0.7855 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.7734, allocations: 20 kB / 0.7855 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.23e-05/0.7734, allocations: 20 kB / 0.7855 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.7735, allocations: 11.91 kB / 0.7855 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/0.7893, allocations: 9.672 MB / 0.795 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.7893, allocations: 11.94 kB / 0.795 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/0.7901, allocations: 216.5 kB / 0.7952 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005513/0.7956, allocations: 1.842 MB / 0.797 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.7958, allocations: 40 kB / 0.797 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2631/1.059, allocations: 34.54 MB / 0.8307 GB, free: 198.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/1.059, allocations: 18.06 kB / 0.8308 GB, free: 198.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008955/1.068, allocations: 4.909 MB / 0.8355 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.069, allocations: 0.6165 MB / 0.8362 GB, free: 197.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003165/1.07, allocations: 44.11 kB / 0.8362 GB, free: 197.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/1.071, allocations: 130.2 kB / 0.8363 GB, free: 197.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000657/1.072, allocations: 187.9 kB / 0.8365 GB, free: 197.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/1.072, allocations: 57.41 kB / 0.8366 GB, free: 197.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001936/1.074, allocations: 1.378 MB / 0.8379 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3e-07/1.074, allocations: 0.5312 kB / 0.8379 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003451/1.077, allocations: 1.052 MB / 0.8389 GB, free: 197.5 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.00881/1.086, allocations: 5.534 MB / 0.8443 GB, free: 195.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00882/1.095, allocations: 6.271 MB / 0.8505 GB, free: 192.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.095, allocations: 2.375 kB / 0.8505 GB, free: 192.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005758/1.101, allocations: 4.409 MB / 0.8548 GB, free: 189.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006071/1.107, allocations: 0.913 MB / 0.8557 GB, free: 189.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04846/1.155, allocations: 35.96 MB / 0.8908 GB, free: 166.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002508/1.158, allocations: 3.12 MB / 0.8938 GB, free: 164 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001824/1.16, allocations: 0.5193 MB / 0.8943 GB, free: 163.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/1.161, allocations: 1.671 MB / 0.896 GB, free: 162 MB / 0.6387 GB Notification: Performance of SimCode: time 1.022e-06/1.161, allocations: 4 kB / 0.896 GB, free: 162 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/1.263, allocations: 85.68 MB / 0.9796 GB, free: 77.42 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000131/1.263, allocations: 233.9 kB / 0.9799 GB, free: 77.17 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.373/4.636, allocations: 4 kB / 0.9799 GB, free: 77.17 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)