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.001198/0.001198, allocations: 110 kB / 16.41 MB, free: 6.484 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.001163/0.001163, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.203/1.203, 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.6577/0.6577, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 67.59 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1211, allocations: 76.18 MB / 0.6316 GB, free: 4.887 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03387/0.155, allocations: 33.3 MB / 0.6641 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02182/0.1769, allocations: 14.81 MB / 0.6786 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.1799, allocations: 163.1 kB / 0.6787 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.008616/0.1886, allocations: 3.667 MB / 0.6823 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007228/0.1958, allocations: 2.984 MB / 0.6852 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005153/0.201, allocations: 2.344 MB / 0.6875 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00974/0.2108, allocations: 8.839 MB / 0.6962 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01314/0.2239, allocations: 9.569 MB / 0.7055 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007373/0.2313, allocations: 4.016 MB / 0.7094 GB, free: 4.855 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006547/0.2379, allocations: 4.038 MB / 0.7134 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001951/0.2399, allocations: 0.7148 MB / 0.7141 GB, free: 92 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004055/0.244, allocations: 1.72 MB / 0.7158 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003636/0.2476, allocations: 2.826 MB / 0.7185 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0057/0.2533, allocations: 3.392 MB / 0.7218 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.2642, allocations: 11.19 MB / 0.7328 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.2642, allocations: 0 / 0.7328 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2643, allocations: 4 kB / 0.7328 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003047/0.2646, allocations: 0 / 0.7328 GB, free: 12.9 MB / 0.5762 GB 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.01174/0.2763, allocations: 5.979 MB / 0.7386 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2764, allocations: 8.031 kB / 0.7386 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008793/0.2773, allocations: 0.7232 MB / 0.7393 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005907/0.2832, allocations: 1.142 MB / 0.7404 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006037/0.2892, allocations: 3.52 MB / 0.7439 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.2895, allocations: 374.4 kB / 0.7442 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007043/0.2902, allocations: 499.8 kB / 0.7447 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2801/0.5703, allocations: 8 MB / 0.7525 GB, free: 95.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/0.5705, allocations: 24.11 kB / 0.7525 GB, free: 95.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004793/0.571, allocations: 216.4 kB / 0.7527 GB, free: 95.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009351/0.5719, allocations: 439 kB / 0.7532 GB, free: 95.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01226/0.5842, allocations: 6.084 MB / 0.7591 GB, free: 93.2 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03346/0.6177, allocations: 34.89 MB / 0.7932 GB, free: 62.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/0.6201, allocations: 2.029 MB / 0.7952 GB, free: 61.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/0.6222, allocations: 1.872 MB / 0.797 GB, free: 60.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.6224, allocations: 24.94 kB / 0.797 GB, free: 60.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.6224, allocations: 60.12 kB / 0.7971 GB, free: 60.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=171): time 3.646e-06/0.6224, allocations: 0 / 0.7971 GB, free: 60.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=276): time 0.1177/0.7401, allocations: 38.89 MB / 0.835 GB, free: 21.53 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.7402, allocations: 83.17 kB / 0.8351 GB, free: 21.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002873/0.743, allocations: 2.282 MB / 0.8373 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002827/0.7433, allocations: 69.7 kB / 0.8374 GB, free: 19.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000926/0.7443, allocations: 2.276 MB / 0.8396 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006298/0.7449, allocations: 0.9415 MB / 0.8406 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009225/0.7459, allocations: 0.5022 MB / 0.841 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.076e-05/0.7459, allocations: 305.1 kB / 0.8413 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002381/0.7483, allocations: 1.973 MB / 0.8433 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/0.7508, allocations: 2.606 MB / 0.8458 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004919/0.7557, allocations: 4.933 MB / 0.8506 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/0.7558, allocations: 4 kB / 0.8506 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01243/0.7682, allocations: 7.751 MB / 0.8582 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.7683, allocations: 12 kB / 0.8582 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.7683, allocations: 20 kB / 0.8582 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00884/0.7771, allocations: 3.216 MB / 0.8614 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.7787, allocations: 399.1 kB / 0.8617 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04468/0.8234, allocations: 33.87 MB / 0.8948 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/0.826, allocations: 159.8 kB / 0.895 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004455/0.8265, allocations: 108 kB / 0.8951 GB, free: 6.547 MB / 0.6231 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.003044/0.8296, allocations: 1.805 MB / 0.8968 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009187/0.8305, allocations: 332 kB / 0.8972 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/0.8439, allocations: 7.354 MB / 0.9043 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.844, allocations: 28 kB / 0.9044 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.21e-05/0.8441, allocations: 32 kB / 0.9044 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/0.8441, allocations: 15.94 kB / 0.9044 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02268/0.8668, allocations: 12.92 MB / 0.917 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/0.8668, allocations: 8.375 kB / 0.917 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008739/0.8677, allocations: 239.4 kB / 0.9173 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00784/0.8756, allocations: 2.854 MB / 0.9201 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002536/0.8758, allocations: 52 kB / 0.9201 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04085/0.9167, allocations: 32.66 MB / 0.952 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.9167, allocations: 19.88 kB / 0.952 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/0.9289, allocations: 6.882 MB / 0.9587 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/0.9307, allocations: 0.7782 MB / 0.9595 GB, free: 3.262 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007148/0.9314, allocations: 56 kB / 0.9596 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/0.9333, allocations: 175.7 kB / 0.9597 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008536/0.9342, allocations: 241.5 kB / 0.96 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002179/0.9344, allocations: 80 kB / 0.96 GB, free: 2.719 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002639/0.9371, allocations: 1.529 MB / 0.9615 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9371, allocations: 0 / 0.9615 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004535/0.9416, allocations: 1.367 MB / 0.9629 GB, free: 15.82 MB / 0.7012 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.01268/0.9543, allocations: 7.516 MB / 0.9702 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01108/0.9654, allocations: 6.93 MB / 0.977 GB, free: 1.059 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.9655, allocations: 3.938 kB / 0.977 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007123/0.9726, allocations: 4.415 MB / 0.9813 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004735/0.9773, allocations: 1.108 MB / 0.9824 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06958/1.047, allocations: 39.02 MB / 1.02 GB, free: 3.406 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2794/1.326, allocations: 3.634 MB / 1.024 GB, free: 248.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00215/1.329, allocations: 0.5568 MB / 1.025 GB, free: 248.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002113/1.331, allocations: 1.971 MB / 1.026 GB, free: 248.8 MB / 0.7481 GB Notification: Performance of SimCode: time 8.62e-07/1.331, allocations: 0 / 1.026 GB, free: 248.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1456/1.476, allocations: 111.6 MB / 1.135 GB, free: 167.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/16.01, allocations: 14.8 kB / 1.135 GB, free: 167.5 MB / 0.7481 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)