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.001076/0.001076, allocations: 99.62 kB / 16.27 MB, free: 6.41 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.001161/0.001161, allocations: 185.1 kB / 17.2 MB, free: 5.953 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.222/1.222, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6843/0.6843, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 0.4912 GB, free: 7.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3064, allocations: 77.92 MB / 0.5673 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02746/0.3339, allocations: 33.31 MB / 0.5998 GB, free: 8.809 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01843/0.3524, allocations: 14.83 MB / 0.6143 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002997/0.3554, allocations: 156.1 kB / 0.6145 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0078/0.3633, allocations: 3.652 MB / 0.618 GB, free: 6.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006458/0.3698, allocations: 2.891 MB / 0.6208 GB, free: 3.852 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004605/0.3744, allocations: 2.327 MB / 0.6231 GB, free: 1.523 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008445/0.3829, allocations: 8.808 MB / 0.6317 GB, free: 8.691 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01093/0.3938, allocations: 9.644 MB / 0.6411 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005071/0.3989, allocations: 3.938 MB / 0.645 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005294/0.4042, allocations: 4.03 MB / 0.6489 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001514/0.4057, allocations: 0.7226 MB / 0.6496 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003577/0.4093, allocations: 1.716 MB / 0.6513 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002938/0.4123, allocations: 2.83 MB / 0.6541 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00403/0.4163, allocations: 3.388 MB / 0.6574 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008961/0.4253, allocations: 11.12 MB / 0.6682 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.4253, allocations: 0 / 0.6682 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4253, allocations: 3.938 kB / 0.6682 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002083/0.4255, allocations: 0 / 0.6682 GB, free: 3.102 MB / 0.4981 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.01032/0.4359, allocations: 5.975 MB / 0.6741 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4359, allocations: 12.62 kB / 0.6741 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009202/0.4368, allocations: 0.7232 MB / 0.6748 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006247/0.4431, allocations: 1.142 MB / 0.6759 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005195/0.4483, allocations: 3.321 MB / 0.6791 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/0.4485, allocations: 374.4 kB / 0.6795 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006614/0.4492, allocations: 499.8 kB / 0.68 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/0.4597, allocations: 8.001 MB / 0.6878 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.613e-05/0.4599, allocations: 23.69 kB / 0.6878 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004527/0.4603, allocations: 220 kB / 0.688 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000972/0.4613, allocations: 437.6 kB / 0.6884 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008367/0.4697, allocations: 6.085 MB / 0.6944 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03175/0.5014, allocations: 35.16 MB / 0.7287 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.5039, allocations: 2.026 MB / 0.7307 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/0.506, allocations: 1.861 MB / 0.7325 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.718e-05/0.5061, allocations: 21.98 kB / 0.7325 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.5062, allocations: 56.5 kB / 0.7326 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=171): time 3.367e-06/0.5062, allocations: 4 kB / 0.7326 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=276): time 0.3392/0.8454, allocations: 38.88 MB / 0.7706 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.8455, allocations: 80.27 kB / 0.7706 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.8475, allocations: 2.274 MB / 0.7729 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.8476, allocations: 73.23 kB / 0.7729 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007364/0.8484, allocations: 2.273 MB / 0.7751 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004132/0.8488, allocations: 0.9395 MB / 0.7761 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006892/0.8495, allocations: 0.4982 MB / 0.7766 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 2.98e-05/0.8495, allocations: 317 kB / 0.7769 GB, free: 144 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/0.8515, allocations: 1.97 MB / 0.7788 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/0.8536, allocations: 2.602 MB / 0.7813 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004341/0.858, allocations: 4.929 MB / 0.7861 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.858, allocations: 4 kB / 0.7861 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01055/0.8685, allocations: 7.757 MB / 0.7937 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.8686, allocations: 14.19 kB / 0.7937 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.8686, allocations: 20 kB / 0.7937 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007313/0.8759, allocations: 3.243 MB / 0.7969 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.8771, allocations: 402.6 kB / 0.7973 GB, free: 123.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03108/0.9082, allocations: 33.89 MB / 0.8304 GB, free: 88.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/0.9104, allocations: 163.8 kB / 0.8306 GB, free: 88.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/0.9105, allocations: 104 kB / 0.8306 GB, free: 88.25 MB / 0.5762 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.001935/0.9125, allocations: 1.805 MB / 0.8324 GB, free: 86.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.9128, allocations: 328.1 kB / 0.8327 GB, free: 86.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/0.9234, allocations: 7.364 MB / 0.8399 GB, free: 78.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.9234, allocations: 24 kB / 0.8399 GB, free: 78.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/0.9234, allocations: 32 kB / 0.84 GB, free: 78.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.9234, allocations: 15.95 kB / 0.84 GB, free: 78.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/0.9387, allocations: 12.92 MB / 0.8526 GB, free: 65.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/0.9388, allocations: 8.828 kB / 0.8526 GB, free: 65.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000734/0.9395, allocations: 235.1 kB / 0.8528 GB, free: 65.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006388/0.9459, allocations: 2.882 MB / 0.8556 GB, free: 62.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/0.9461, allocations: 51.94 kB / 0.8557 GB, free: 62.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0293/0.9754, allocations: 32.69 MB / 0.8876 GB, free: 28.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.9754, allocations: 8 kB / 0.8876 GB, free: 28.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008782/0.9842, allocations: 6.882 MB / 0.8944 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009876/0.9852, allocations: 0.7782 MB / 0.8951 GB, free: 20.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/0.9855, allocations: 59.98 kB / 0.8952 GB, free: 20.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.987, allocations: 171.7 kB / 0.8953 GB, free: 20.71 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004683/0.9875, allocations: 245.5 kB / 0.8956 GB, free: 20.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.9876, allocations: 80 kB / 0.8956 GB, free: 20.39 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001395/0.989, allocations: 1.525 MB / 0.8971 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.989, allocations: 0 / 0.8971 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002636/0.9916, allocations: 1.371 MB / 0.8985 GB, free: 17.49 MB / 0.5762 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.008785/1, allocations: 7.515 MB / 0.9058 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0106/1.011, allocations: 8.377 MB / 0.914 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.011, allocations: 4.188 kB / 0.914 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006719/1.018, allocations: 4.42 MB / 0.9183 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004644/1.022, allocations: 1.118 MB / 0.9194 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0609/1.083, allocations: 43.83 MB / 0.9622 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003556/1.087, allocations: 3.647 MB / 0.9658 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001977/1.089, allocations: 0.5556 MB / 0.9663 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001914/1.091, allocations: 1.972 MB / 0.9682 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of SimCode: time 6.51e-07/1.091, allocations: 0 / 0.9682 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.463/3.553, allocations: 112.6 MB / 1.078 GB, free: 155.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/18.52, allocations: 5.203 kB / 1.078 GB, free: 155.1 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)