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.001477/0.001476, allocations: 104 kB / 15.98 MB, free: 6.328 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.001438/0.001438, allocations: 192.4 kB / 16.91 MB, free: 6.168 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.271/1.271, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6947/0.6947, allocations: 115.3 MB / 406.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 71.83 kB / 493.2 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.339, allocations: 76.17 MB / 0.556 GB, free: 35.99 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03134/0.3704, allocations: 34.5 MB / 0.5897 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0163/0.3867, allocations: 11.4 MB / 0.6009 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003541/0.3903, allocations: 144.8 kB / 0.601 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009887/0.4002, allocations: 4.005 MB / 0.6049 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006612/0.4069, allocations: 1.821 MB / 0.6067 GB, free: 272 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007183/0.4141, allocations: 2.193 MB / 0.6088 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01061/0.4247, allocations: 8.486 MB / 0.6171 GB, free: 5.824 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01949/0.4442, allocations: 13.43 MB / 0.6302 GB, free: 8.297 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006032/0.4503, allocations: 3.797 MB / 0.6339 GB, free: 4.488 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006465/0.4568, allocations: 4.389 MB / 0.6382 GB, free: 88 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00232/0.4591, allocations: 0.7813 MB / 0.639 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005326/0.4645, allocations: 2.032 MB / 0.641 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005127/0.4696, allocations: 3.049 MB / 0.644 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006365/0.476, allocations: 3.396 MB / 0.6473 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01331/0.4893, allocations: 12.02 MB / 0.659 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4894, allocations: 0 / 0.659 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4894, allocations: 0 / 0.659 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003397/0.4897, allocations: 0 / 0.659 GB, free: 10.75 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01328/0.503, allocations: 5.803 MB / 0.6647 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5031, allocations: 8.031 kB / 0.6647 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002141/0.5052, allocations: 0.8051 MB / 0.6655 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006683/0.5119, allocations: 1.064 MB / 0.6665 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007388/0.5193, allocations: 3.259 MB / 0.6697 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004612/0.5198, allocations: 423.3 kB / 0.6701 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002114/0.522, allocations: 0.5315 MB / 0.6706 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/0.5412, allocations: 9.079 MB / 0.6795 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002537/0.5415, allocations: 27.69 kB / 0.6795 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001385/0.5429, allocations: 236 kB / 0.6797 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003914/0.5433, allocations: 354.8 kB / 0.6801 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.5561, allocations: 6.826 MB / 0.6867 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04983/0.6059, allocations: 40.12 MB / 0.7259 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003949/0.6099, allocations: 3.109 MB / 0.7289 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002616/0.6126, allocations: 1.962 MB / 0.7309 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.6127, allocations: 22 kB / 0.7309 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.6127, allocations: 52.5 kB / 0.7309 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=179): time 3.988e-06/0.6128, allocations: 0 / 0.7309 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=182): time 0.02411/0.6369, allocations: 9.983 MB / 0.7407 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.637, allocations: 69.41 kB / 0.7407 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.6392, allocations: 1.526 MB / 0.7422 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.6394, allocations: 53.7 kB / 0.7423 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.2743/0.9136, allocations: 2.247 MB / 0.7445 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007991/0.9145, allocations: 0.6372 MB / 0.7451 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006714/0.9151, allocations: 407.7 kB / 0.7455 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.759e-05/0.9152, allocations: 308.1 kB / 0.7458 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.9169, allocations: 1.177 MB / 0.7469 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.9188, allocations: 1.878 MB / 0.7488 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003883/0.9227, allocations: 3.374 MB / 0.7521 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.9227, allocations: 7.188 kB / 0.7521 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007571/0.9303, allocations: 4.581 MB / 0.7565 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.9304, allocations: 14.53 kB / 0.7566 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/0.9304, allocations: 23.75 kB / 0.7566 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003811/0.9342, allocations: 1.592 MB / 0.7581 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.9353, allocations: 358.3 kB / 0.7585 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02123/0.9566, allocations: 18.59 MB / 0.7766 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.9585, allocations: 119.3 kB / 0.7768 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/0.9587, allocations: 97.77 kB / 0.7768 GB, free: 140.1 MB / 0.5762 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.003258/0.962, allocations: 1.887 MB / 0.7787 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/0.9624, allocations: 228.8 kB / 0.7789 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00621/0.9686, allocations: 4.098 MB / 0.7829 GB, free: 137.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.9687, allocations: 21.34 kB / 0.7829 GB, free: 137.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.3e-05/0.9687, allocations: 17.28 kB / 0.7829 GB, free: 137.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.9687, allocations: 15.33 kB / 0.783 GB, free: 137.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.9806, allocations: 9.476 MB / 0.7922 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.9806, allocations: 3.875 kB / 0.7922 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007025/0.9813, allocations: 180.1 kB / 0.7924 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002931/0.9843, allocations: 1.376 MB / 0.7937 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.9844, allocations: 32.38 kB / 0.7938 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/1, allocations: 17.36 MB / 0.8107 GB, free: 114.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1, allocations: 4 kB / 0.8107 GB, free: 114.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005271/1.005, allocations: 4.069 MB / 0.8147 GB, free: 110.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009292/1.006, allocations: 0.5372 MB / 0.8152 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/1.007, allocations: 40.12 kB / 0.8153 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008222/1.007, allocations: 87.89 kB / 0.8153 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004111/1.008, allocations: 165.6 kB / 0.8155 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.236e-05/1.008, allocations: 40 kB / 0.8155 GB, free: 109.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000987/1.009, allocations: 1.005 MB / 0.8165 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/1.009, allocations: 0 / 0.8165 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00271/1.012, allocations: 0.9922 MB / 0.8175 GB, free: 107.3 MB / 0.5762 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.005047/1.017, allocations: 4.656 MB / 0.822 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006635/1.023, allocations: 5.197 MB / 0.8271 GB, free: 97.33 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.023, allocations: 0 / 0.8271 GB, free: 97.33 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003154/1.026, allocations: 2.674 MB / 0.8297 GB, free: 94.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/1.029, allocations: 0.7838 MB / 0.8305 GB, free: 93.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0352/1.065, allocations: 30.91 MB / 0.8607 GB, free: 61.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002761/1.067, allocations: 3.577 MB / 0.8642 GB, free: 57.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001197/1.069, allocations: 459.9 kB / 0.8646 GB, free: 56.95 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/1.07, allocations: 1.788 MB / 0.8663 GB, free: 55.16 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/1.07, allocations: 3.938 kB / 0.8664 GB, free: 55.15 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09515/1.165, allocations: 72.61 MB / 0.9373 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/1.165, allocations: 246.1 kB / 0.9375 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.869/4.035, allocations: 4 kB / 0.9375 GB, free: 14.98 MB / 0.6075 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)