Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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.0007655/0.0007655, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008194/0.0008197, allocations: 175.1 kB / 16.58 MB, free: 6.797 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.21/1.21, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6645/0.6645, allocations: 113.7 MB / 405.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002936, allocations: 8 kB / 493.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1389, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.2874/0.4263, allocations: 37.49 MB / 0.5935 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01965/0.446, allocations: 14.4 MB / 0.6076 GB, free: 9.641 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004126/0.4502, allocations: 163.4 kB / 0.6077 GB, free: 9.578 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002641/0.4528, allocations: 0.8383 MB / 0.6086 GB, free: 9.102 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007021/0.4599, allocations: 2.332 MB / 0.6108 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006146/0.4661, allocations: 1.907 MB / 0.6127 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01303/0.4791, allocations: 12.72 MB / 0.6251 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02125/0.5004, allocations: 13.98 MB / 0.6388 GB, free: 6.527 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006603/0.507, allocations: 3.576 MB / 0.6423 GB, free: 2.938 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007647/0.5147, allocations: 4.641 MB / 0.6468 GB, free: 14.28 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002081/0.5168, allocations: 396 kB / 0.6472 GB, free: 13.89 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004446/0.5212, allocations: 0.8937 MB / 0.6481 GB, free: 13 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004996/0.5262, allocations: 2.973 MB / 0.651 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003202/0.5295, allocations: 1.385 MB / 0.6523 GB, free: 8.625 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.5421, allocations: 11.77 MB / 0.6638 GB, free: 12.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.5421, allocations: 0 / 0.6638 GB, free: 12.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5421, allocations: 0 / 0.6638 GB, free: 12.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004061/0.5425, allocations: 0 / 0.6638 GB, free: 12.83 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01453/0.5571, allocations: 6.22 MB / 0.6699 GB, free: 6.527 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.5571, allocations: 8.031 kB / 0.6699 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002809/0.56, allocations: 0.8993 MB / 0.6708 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008917/0.5689, allocations: 1.521 MB / 0.6722 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007479/0.5764, allocations: 4.101 MB / 0.6762 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/0.5767, allocations: 452.1 kB / 0.6767 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/0.578, allocations: 0.6013 MB / 0.6773 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01671/0.5947, allocations: 10.63 MB / 0.6876 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/0.5949, allocations: 31.7 kB / 0.6877 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000603/0.5955, allocations: 271.9 kB / 0.6879 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00211/0.5976, allocations: 0.769 MB / 0.6887 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/0.6115, allocations: 8.518 MB / 0.697 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05042/0.662, allocations: 46.99 MB / 0.7429 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005745/0.6678, allocations: 4.297 MB / 0.7471 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005052/0.6728, allocations: 3.685 MB / 0.7507 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.6731, allocations: 38.78 kB / 0.7507 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/0.6732, allocations: 73.34 kB / 0.7508 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=353): time 7.424e-06/0.6732, allocations: 0 / 0.7508 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=578): time 0.6809/1.354, allocations: 127.9 MB / 0.8756 GB, free: 171.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/1.354, allocations: 111.9 kB / 0.8758 GB, free: 171.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/1.357, allocations: 2.655 MB / 0.8783 GB, free: 168.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006883/1.358, allocations: 121.7 kB / 0.8785 GB, free: 168.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/1.359, allocations: 2.677 MB / 0.8811 GB, free: 165.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001477/1.36, allocations: 1.953 MB / 0.883 GB, free: 163.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003535/1.361, allocations: 112 kB / 0.8831 GB, free: 163.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.361, allocations: 0.5217 MB / 0.8836 GB, free: 163.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004318/1.365, allocations: 4.06 MB / 0.8876 GB, free: 159.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004636/1.37, allocations: 4.991 MB / 0.8924 GB, free: 153.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004867/1.375, allocations: 4.825 MB / 0.8972 GB, free: 149 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/1.375, allocations: 4 kB / 0.8972 GB, free: 149 MB / 0.6387 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02746/1.402, allocations: 16.92 MB / 0.9137 GB, free: 132.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/1.402, allocations: 12 kB / 0.9137 GB, free: 132.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/1.402, allocations: 24 kB / 0.9137 GB, free: 132.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02287/1.425, allocations: 9.057 MB / 0.9226 GB, free: 123.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/1.427, allocations: 0.5308 MB / 0.9231 GB, free: 122.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07472/1.502, allocations: 70.6 MB / 0.992 GB, free: 50.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003914/1.506, allocations: 289.3 kB / 0.9923 GB, free: 50.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003974/1.506, allocations: 188 kB / 0.9925 GB, free: 50.34 MB / 0.6387 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003281/1.51, allocations: 2.421 MB / 0.9948 GB, free: 47.94 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007032/1.51, allocations: 470.5 kB / 0.9953 GB, free: 47.47 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02807/1.538, allocations: 16.75 MB / 1.012 GB, free: 30.84 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.009e-05/1.539, allocations: 56 kB / 1.012 GB, free: 30.79 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.959e-05/1.539, allocations: 75.38 kB / 1.012 GB, free: 30.71 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-05/1.539, allocations: 27.89 kB / 1.012 GB, free: 30.69 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03827/1.577, allocations: 25.62 MB / 1.037 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-05/1.577, allocations: 11.98 kB / 1.037 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/1.579, allocations: 316.3 kB / 1.037 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02265/1.601, allocations: 8.26 MB / 1.045 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005432/1.602, allocations: 104 kB / 1.045 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3434/1.945, allocations: 67.44 MB / 1.111 GB, free: 229.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/1.945, allocations: 17.91 kB / 1.111 GB, free: 229.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03399/1.979, allocations: 21.48 MB / 1.132 GB, free: 221 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002514/1.982, allocations: 1.361 MB / 1.133 GB, free: 220.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006669/1.982, allocations: 113.5 kB / 1.134 GB, free: 220.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002393/1.985, allocations: 281.3 kB / 1.134 GB, free: 220.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001612/1.986, allocations: 0.5197 MB / 1.134 GB, free: 220.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003191/1.987, allocations: 148.3 kB / 1.135 GB, free: 220.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001968/1.989, allocations: 1.751 MB / 1.136 GB, free: 219.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/1.989, allocations: 0 / 1.136 GB, free: 219.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.006027/1.995, allocations: 2.464 MB / 1.139 GB, free: 219.3 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03267/2.027, allocations: 22.18 MB / 1.16 GB, free: 204.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02111/2.049, allocations: 14.49 MB / 1.174 GB, free: 191 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/2.049, allocations: 0 / 1.174 GB, free: 191 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01565/2.064, allocations: 9.367 MB / 1.184 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007483/2.072, allocations: 1.292 MB / 1.185 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09053/2.162, allocations: 55.85 MB / 1.239 GB, free: 122.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005102/2.168, allocations: 4.893 MB / 1.244 GB, free: 117.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002506/2.17, allocations: 0.741 MB / 1.245 GB, free: 116.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002145/2.172, allocations: 2.6 MB / 1.247 GB, free: 114.1 MB / 0.6856 GB Notification: Performance of SimCode: time 9.32e-07/2.172, allocations: 0 / 1.247 GB, free: 114.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5326/2.705, allocations: 185.8 MB / 1.429 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/2.705, allocations: 225 kB / 1.429 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.334/8.039, allocations: 2.5 kB / 1.429 GB, free: 185.6 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) Environment - environmentSimulation: