Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_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.001195/0.001195, allocations: 105.8 kB / 16.4 MB, free: 6.023 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.001139/0.001139, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.195/1.195, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6448/0.6448, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 66.06 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1104, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01439/0.1248, allocations: 14.01 MB / 0.6453 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.1374, allocations: 9.396 MB / 0.6545 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.1386, allocations: 55.62 kB / 0.6545 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003843/0.1425, allocations: 1.668 MB / 0.6561 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004369/0.1469, allocations: 1.583 MB / 0.6577 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.1488, allocations: 0.7582 MB / 0.6584 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003091/0.1519, allocations: 2.53 MB / 0.6609 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.1538, allocations: 1.408 MB / 0.6623 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.1556, allocations: 1.071 MB / 0.6633 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.1575, allocations: 1.148 MB / 0.6644 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004292/0.158, allocations: 164 kB / 0.6646 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.1596, allocations: 0.7878 MB / 0.6654 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005269/0.1601, allocations: 0.6154 MB / 0.666 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.1611, allocations: 0.9406 MB / 0.6669 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002678/0.1638, allocations: 2.765 MB / 0.6696 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1638, allocations: 0 / 0.6696 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1638, allocations: 0 / 0.6696 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.1639, allocations: 0 / 0.6696 GB, free: 13.86 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003287/0.1671, allocations: 2.139 MB / 0.6717 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1672, allocations: 8.031 kB / 0.6717 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002051/0.1674, allocations: 194.4 kB / 0.6719 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009756/0.1772, allocations: 2.081 MB / 0.6739 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.1794, allocations: 1.298 MB / 0.6752 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.164e-05/0.1795, allocations: 86.67 kB / 0.6752 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.1797, allocations: 123.9 kB / 0.6754 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004733/0.1844, allocations: 2.679 MB / 0.678 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/0.1845, allocations: 4 kB / 0.678 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.1846, allocations: 51.98 kB / 0.678 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005124/0.1852, allocations: 186.1 kB / 0.6782 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00622/0.1914, allocations: 2.807 MB / 0.681 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/0.2036, allocations: 10.46 MB / 0.6912 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00566/0.2093, allocations: 2.538 MB / 0.6937 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002601/0.2119, allocations: 1.272 MB / 0.6949 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.383e-05/0.212, allocations: 24.92 kB / 0.6949 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.2121, allocations: 39.56 kB / 0.695 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=89): time 2.334e-06/0.2121, allocations: 0 / 0.695 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.03898/0.251, allocations: 13.35 MB / 0.708 GB, free: 5.355 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.2511, allocations: 72.72 kB / 0.7081 GB, free: 5.273 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.2525, allocations: 1.117 MB / 0.7091 GB, free: 4.141 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/0.2526, allocations: 49.7 kB / 0.7092 GB, free: 4.086 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/0.2531, allocations: 0.7116 MB / 0.7099 GB, free: 3.367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003541/0.2534, allocations: 457.4 kB / 0.7103 GB, free: 2.914 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004673/0.2539, allocations: 263.4 kB / 0.7106 GB, free: 2.648 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.254, allocations: 361.9 kB / 0.7109 GB, free: 2.289 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002823/0.2569, allocations: 1.339 MB / 0.7122 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00289/0.2598, allocations: 1.608 MB / 0.7138 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005835/0.2656, allocations: 2.991 MB / 0.7167 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.2656, allocations: 4 kB / 0.7167 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01007/0.2757, allocations: 4.439 MB / 0.7211 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.2758, allocations: 8 kB / 0.7211 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.2758, allocations: 8 kB / 0.7211 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004939/0.2807, allocations: 1.428 MB / 0.7225 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/0.2826, allocations: 439.2 kB / 0.7229 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0255/0.3081, allocations: 26.67 MB / 0.7489 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.3103, allocations: 307.5 kB / 0.7492 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.3105, allocations: 68.06 kB / 0.7493 GB, free: 8.867 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007346/0.3112, allocations: 443.4 kB / 0.7497 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003566/0.3116, allocations: 158.1 kB / 0.7499 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/0.3218, allocations: 4.457 MB / 0.7542 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.3218, allocations: 12 kB / 0.7542 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/0.3218, allocations: 12 kB / 0.7542 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.3218, allocations: 11.97 kB / 0.7543 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2562/0.578, allocations: 6.771 MB / 0.7609 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.5781, allocations: 2.656 kB / 0.7609 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.5797, allocations: 380.7 kB / 0.7612 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004396/0.5841, allocations: 1.31 MB / 0.7625 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/0.5843, allocations: 41.62 kB / 0.7626 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/0.6039, allocations: 25.49 MB / 0.7874 GB, free: 95.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.6039, allocations: 3.781 kB / 0.7874 GB, free: 95.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008684/0.6126, allocations: 4.205 MB / 0.7916 GB, free: 93.76 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007011/0.6134, allocations: 455.8 kB / 0.792 GB, free: 93.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.6135, allocations: 28.25 kB / 0.792 GB, free: 93.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.6152, allocations: 307.3 kB / 0.7923 GB, free: 93.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003865/0.6156, allocations: 130.7 kB / 0.7924 GB, free: 93.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.6157, allocations: 46.16 kB / 0.7925 GB, free: 93.47 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008193/0.6166, allocations: 0.749 MB / 0.7932 GB, free: 93.17 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.92e-07/0.6166, allocations: 1.375 kB / 0.7932 GB, free: 93.17 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001566/0.6181, allocations: 0.5735 MB / 0.7938 GB, free: 93.11 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008279/0.6264, allocations: 4.791 MB / 0.7984 GB, free: 91.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007981/0.6344, allocations: 5.125 MB / 0.8035 GB, free: 87.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6344, allocations: 4.125 kB / 0.8035 GB, free: 87.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005017/0.6395, allocations: 3.501 MB / 0.8069 GB, free: 85.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.6413, allocations: 0.5422 MB / 0.8074 GB, free: 84.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02957/0.6709, allocations: 19.36 MB / 0.8263 GB, free: 64.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/0.6716, allocations: 1.476 MB / 0.8278 GB, free: 63.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001256/0.6729, allocations: 424 kB / 0.8282 GB, free: 63.03 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006314/0.6735, allocations: 0.6281 MB / 0.8288 GB, free: 62.4 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.6735, allocations: 0 / 0.8288 GB, free: 62.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08434/0.7579, allocations: 51.65 MB / 0.8792 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/17.16, allocations: 19.58 kB / 0.8792 GB, free: 11.33 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)