Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.0007648/0.0007648, 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.0008048/0.0008048, allocations: 175.1 kB / 16.58 MB, free: 6.504 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.246/1.246, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6217/0.6217, allocations: 113.7 MB / 405.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00028/0.00028, allocations: 12 kB / 493.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 77.11 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.3269/0.4545, allocations: 34.21 MB / 0.5903 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02116/0.4757, allocations: 12.44 MB / 0.6025 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004089/0.4798, allocations: 144.9 kB / 0.6026 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00239/0.4822, allocations: 0.7469 MB / 0.6033 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007894/0.4901, allocations: 2.057 MB / 0.6054 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006511/0.4967, allocations: 1.626 MB / 0.6069 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01588/0.5126, allocations: 10.64 MB / 0.6173 GB, free: 6.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01793/0.5305, allocations: 11.45 MB / 0.6285 GB, free: 84 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007042/0.5376, allocations: 2.971 MB / 0.6314 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007108/0.5448, allocations: 3.769 MB / 0.6351 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009343/0.5457, allocations: 320 kB / 0.6354 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/0.5488, allocations: 0.7805 MB / 0.6362 GB, free: 9.602 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002831/0.5517, allocations: 2.451 MB / 0.6386 GB, free: 7.145 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003293/0.555, allocations: 1.167 MB / 0.6397 GB, free: 5.969 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01408/0.5691, allocations: 9.727 MB / 0.6492 GB, free: 12.21 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.5691, allocations: 4 kB / 0.6492 GB, free: 12.21 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5691, allocations: 0 / 0.6492 GB, free: 12.21 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003723/0.5695, allocations: 0 / 0.6492 GB, free: 12.21 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01243/0.582, allocations: 5.208 MB / 0.6543 GB, free: 6.934 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.582, allocations: 12.03 kB / 0.6543 GB, free: 6.922 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00173/0.5838, allocations: 0.7517 MB / 0.655 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007455/0.5912, allocations: 1.296 MB / 0.6563 GB, free: 4.855 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006643/0.5979, allocations: 3.472 MB / 0.6597 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/0.5982, allocations: 378.1 kB / 0.66 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009856/0.5992, allocations: 0.4959 MB / 0.6605 GB, free: 452 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01914/0.6184, allocations: 8.839 MB / 0.6692 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001877/0.6186, allocations: 43.56 kB / 0.6692 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009993/0.6196, allocations: 223.9 kB / 0.6694 GB, free: 6.988 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001892/0.6215, allocations: 0.6304 MB / 0.67 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/0.6358, allocations: 6.971 MB / 0.6768 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04744/0.6833, allocations: 40.41 MB / 0.7163 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003507/0.6869, allocations: 2.89 MB / 0.7191 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00311/0.69, allocations: 2.659 MB / 0.7217 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.6902, allocations: 30.03 kB / 0.7218 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.365e-05/0.6902, allocations: 64.66 kB / 0.7218 GB, free: 14.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=265): time 4.198e-06/0.6903, allocations: 0 / 0.7218 GB, free: 14.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=424): time 0.2455/0.9358, allocations: 77.42 MB / 0.7974 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.9359, allocations: 98.69 kB / 0.7975 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002939/0.9389, allocations: 2.332 MB / 0.7998 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0005717/0.9394, allocations: 97.7 kB / 0.7999 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001439/0.9409, allocations: 2.333 MB / 0.8022 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001429/0.9423, allocations: 1.44 MB / 0.8036 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.9426, allocations: 84 kB / 0.8036 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002399/0.9429, allocations: 483.3 kB / 0.8041 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004136/0.947, allocations: 2.984 MB / 0.807 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004695/0.9517, allocations: 3.82 MB / 0.8108 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005407/0.9571, allocations: 3.556 MB / 0.8142 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/0.9572, allocations: 11.94 kB / 0.8142 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02499/0.9822, allocations: 12.49 MB / 0.8264 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.9822, allocations: 16 kB / 0.8265 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.06e-05/0.9823, allocations: 23.98 kB / 0.8265 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2829/1.265, allocations: 6.009 MB / 0.8323 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/1.267, allocations: 493.2 kB / 0.8328 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06654/1.334, allocations: 67.2 MB / 0.8984 GB, free: 163.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/1.337, allocations: 215.2 kB / 0.8986 GB, free: 163.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000398/1.338, allocations: 156.2 kB / 0.8988 GB, free: 163.8 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 (269): * Single equations (assignments): 245 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002917/1.341, allocations: 1.992 MB / 0.9007 GB, free: 162.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007057/1.341, allocations: 390.4 kB / 0.9011 GB, free: 162.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02092/1.362, allocations: 12.19 MB / 0.913 GB, free: 155.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/1.362, allocations: 40 kB / 0.9131 GB, free: 155.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-05/1.362, allocations: 48 kB / 0.9131 GB, free: 155.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.654e-05/1.363, allocations: 23.88 kB / 0.9131 GB, free: 155.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03055/1.393, allocations: 19.11 MB / 0.9318 GB, free: 135.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-05/1.393, allocations: 8 kB / 0.9318 GB, free: 135.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/1.394, allocations: 287.6 kB / 0.9321 GB, free: 135.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01596/1.41, allocations: 5.564 MB / 0.9375 GB, free: 130 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007119/1.411, allocations: 87.95 kB / 0.9376 GB, free: 129.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05612/1.467, allocations: 64.81 MB / 1.001 GB, free: 61.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.467, allocations: 11.94 kB / 1.001 GB, free: 61.94 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02309/1.49, allocations: 15.56 MB / 1.016 GB, free: 46.17 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/1.492, allocations: 1.052 MB / 1.017 GB, free: 45.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005136/1.493, allocations: 83.94 kB / 1.017 GB, free: 45.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/1.495, allocations: 215.7 kB / 1.017 GB, free: 44.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001057/1.496, allocations: 406.3 kB / 1.018 GB, free: 44.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002334/1.496, allocations: 108 kB / 1.018 GB, free: 44.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001672/1.498, allocations: 1.537 MB / 1.019 GB, free: 42.76 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/1.498, allocations: 0 / 1.019 GB, free: 42.76 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005012/1.503, allocations: 1.859 MB / 1.021 GB, free: 40.9 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0236/1.526, allocations: 16.23 MB / 1.037 GB, free: 24.44 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01786/1.544, allocations: 12.18 MB / 1.049 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/1.544, allocations: 0 / 1.049 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01215/1.556, allocations: 8.386 MB / 1.057 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004349/1.561, allocations: 1.107 MB / 1.058 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3064/1.867, allocations: 42.75 MB / 1.1 GB, free: 195 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004689/1.872, allocations: 4.084 MB / 1.104 GB, free: 194.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002427/1.874, allocations: 0.6705 MB / 1.105 GB, free: 194.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00209/1.877, allocations: 2.138 MB / 1.107 GB, free: 193.5 MB / 0.6544 GB Notification: Performance of SimCode: time 9.72e-07/1.877, allocations: 6.75 kB / 1.107 GB, free: 193.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1581/2.035, allocations: 143.8 MB / 1.247 GB, free: 71.93 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001303/2.035, allocations: 230.7 kB / 1.247 GB, free: 71.69 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.471/6.506, allocations: 4 kB / 1.247 GB, free: 71.68 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) Environment - environmentSimulation: