Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.001229/0.001229, 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.001513/0.001513, allocations: 210.3 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.214/1.214, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.612/0.612, allocations: 115.3 MB / 406 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 64.38 kB / 493 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1146, allocations: 76.19 MB / 0.5559 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.2272/0.3418, allocations: 34.49 MB / 0.5895 GB, free: 18.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01373/0.3556, allocations: 11.5 MB / 0.6008 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.3577, allocations: 144 kB / 0.6009 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007098/0.3648, allocations: 3.991 MB / 0.6048 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003784/0.3686, allocations: 1.871 MB / 0.6066 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004411/0.3731, allocations: 2.173 MB / 0.6088 GB, free: 9.445 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008702/0.3818, allocations: 12.42 MB / 0.6209 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01234/0.3941, allocations: 12.32 MB / 0.6329 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003718/0.3979, allocations: 3.188 MB / 0.636 GB, free: 7.793 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00373/0.4016, allocations: 4.268 MB / 0.6402 GB, free: 3.512 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006921/0.4023, allocations: 0.543 MB / 0.6407 GB, free: 2.969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003362/0.4057, allocations: 2.133 MB / 0.6428 GB, free: 0.832 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002009/0.4077, allocations: 2.818 MB / 0.6456 GB, free: 14.01 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002529/0.4102, allocations: 3.131 MB / 0.6486 GB, free: 10.86 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007811/0.418, allocations: 11.83 MB / 0.6602 GB, free: 15 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4181, allocations: 0 / 0.6602 GB, free: 15 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.4181, allocations: 0 / 0.6602 GB, free: 15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.069e-05/0.4182, allocations: 0 / 0.6602 GB, free: 15 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.007644/0.4258, allocations: 5.787 MB / 0.6658 GB, free: 9.137 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.4258, allocations: 8.031 kB / 0.6658 GB, free: 9.129 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008641/0.4267, allocations: 0.8089 MB / 0.6666 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004763/0.4315, allocations: 1.071 MB / 0.6677 GB, free: 7.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004171/0.4357, allocations: 3.255 MB / 0.6709 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.4359, allocations: 415.5 kB / 0.6713 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006719/0.4366, allocations: 0.543 MB / 0.6718 GB, free: 2.969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/0.4486, allocations: 9.079 MB / 0.6806 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/0.4487, allocations: 31.77 kB / 0.6807 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004753/0.4492, allocations: 232 kB / 0.6809 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003091/0.4495, allocations: 350.8 kB / 0.6812 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009303/0.4588, allocations: 6.83 MB / 0.6879 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03166/0.4905, allocations: 40.11 MB / 0.7271 GB, free: 6.305 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003236/0.4937, allocations: 3.12 MB / 0.7301 GB, free: 3.043 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002222/0.496, allocations: 1.962 MB / 0.732 GB, free: 1.082 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.715e-05/0.4961, allocations: 22 kB / 0.7321 GB, free: 1.062 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.4961, allocations: 48.56 kB / 0.7321 GB, free: 1.004 MB / 0.545 GB Notification: Performance of pre-optimization done (n=179): time 3.076e-06/0.4961, allocations: 0 / 0.7321 GB, free: 1.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=182): time 0.02012/0.5162, allocations: 9.981 MB / 0.7418 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.5163, allocations: 69.41 kB / 0.7419 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.5179, allocations: 1.53 MB / 0.7434 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.345e-05/0.518, allocations: 57.64 kB / 0.7435 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.5192, allocations: 2.249 MB / 0.7457 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000432/0.5197, allocations: 0.6315 MB / 0.7463 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005374/0.5202, allocations: 411.9 kB / 0.7467 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.5203, allocations: 305.1 kB / 0.747 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.5217, allocations: 1.176 MB / 0.7481 GB, free: 408 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/0.5236, allocations: 1.885 MB / 0.7499 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/0.5272, allocations: 3.367 MB / 0.7532 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.5272, allocations: 8 kB / 0.7532 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006524/0.5337, allocations: 4.584 MB / 0.7577 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.5338, allocations: 12 kB / 0.7577 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.5338, allocations: 24 kB / 0.7578 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003346/0.5372, allocations: 1.576 MB / 0.7593 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009748/0.5381, allocations: 355.2 kB / 0.7596 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0187/0.5569, allocations: 17.03 MB / 0.7763 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.5579, allocations: 119.9 kB / 0.7764 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.558, allocations: 92 kB / 0.7765 GB, free: 2.16 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002046/0.5601, allocations: 1.894 MB / 0.7783 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/0.5604, allocations: 225.3 kB / 0.7785 GB, free: 32 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006022/0.5664, allocations: 4.098 MB / 0.7825 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.5664, allocations: 20 kB / 0.7825 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.991e-05/0.5665, allocations: 19.94 kB / 0.7826 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.5665, allocations: 7.969 kB / 0.7826 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.5787, allocations: 9.47 MB / 0.7918 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.5787, allocations: 4 kB / 0.7918 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/0.5794, allocations: 179.7 kB / 0.792 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003117/0.5825, allocations: 1.357 MB / 0.7933 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.5826, allocations: 36 kB / 0.7934 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0172/0.5998, allocations: 15.95 MB / 0.8089 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.5998, allocations: 4 kB / 0.8089 GB, free: 80 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005528/0.6054, allocations: 4.077 MB / 0.8129 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007266/0.6061, allocations: 0.5295 MB / 0.8134 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.6064, allocations: 36 kB / 0.8135 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007913/0.6072, allocations: 87.83 kB / 0.8136 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/0.6075, allocations: 169.7 kB / 0.8137 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.643e-05/0.6076, allocations: 48 kB / 0.8138 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001114/0.6087, allocations: 1.005 MB / 0.8147 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6087, allocations: 0 / 0.8147 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002077/0.6108, allocations: 0.9844 MB / 0.8157 GB, free: 9.008 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005823/0.6166, allocations: 4.664 MB / 0.8203 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.1816/0.7982, allocations: 4.273 MB / 0.8244 GB, free: 215 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.7983, allocations: 2.781 kB / 0.8244 GB, free: 215 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003952/0.8022, allocations: 2.658 MB / 0.827 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/0.8052, allocations: 0.7081 MB / 0.8277 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03794/0.8432, allocations: 30.92 MB / 0.8579 GB, free: 198.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003136/0.8463, allocations: 3.576 MB / 0.8614 GB, free: 197 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001131/0.8475, allocations: 462.4 kB / 0.8618 GB, free: 196.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/0.8488, allocations: 1.793 MB / 0.8636 GB, free: 195.3 MB / 0.6387 GB Notification: Performance of SimCode: time 5.11e-07/0.8488, allocations: 0 / 0.8636 GB, free: 195.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.262/3.111, allocations: 70.99 MB / 0.9329 GB, free: 131.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/3.111, allocations: 242.2 kB / 0.9332 GB, free: 131.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.683/5.794, allocations: 4 kB / 0.9332 GB, free: 131.5 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)