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.001451/0.001451, allocations: 102 kB / 15.98 MB, free: 6.297 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.001423/0.001424, allocations: 192.5 kB / 16.91 MB, free: 6.148 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.301/1.301, allocations: 222.9 MB / 240.6 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.703/0.703, allocations: 115.3 MB / 406.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.91 kB / 493.2 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3793, allocations: 76.17 MB / 0.556 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03579/0.4151, allocations: 40.78 MB / 0.5959 GB, free: 8.574 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02207/0.4373, allocations: 14.98 MB / 0.6105 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004726/0.442, allocations: 171.1 kB / 0.6107 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01101/0.4531, allocations: 4.157 MB / 0.6147 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00983/0.463, allocations: 2.588 MB / 0.6172 GB, free: 5.824 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009309/0.4723, allocations: 2.89 MB / 0.6201 GB, free: 2.941 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01466/0.487, allocations: 11.44 MB / 0.6312 GB, free: 7.469 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02313/0.5101, allocations: 14.85 MB / 0.6457 GB, free: 8.484 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008476/0.5186, allocations: 4.902 MB / 0.6505 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009093/0.5278, allocations: 5.636 MB / 0.656 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002738/0.5305, allocations: 0.9531 MB / 0.657 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005135/0.5357, allocations: 2.04 MB / 0.659 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.004828/0.5405, allocations: 3.692 MB / 0.6626 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.008032/0.5486, allocations: 4.295 MB / 0.6668 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.5643, allocations: 14.3 MB / 0.6807 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5643, allocations: 0 / 0.6807 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5643, allocations: 0 / 0.6807 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003707/0.5647, allocations: 0 / 0.6807 GB, free: 4.566 MB / 0.5137 GB 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.0215/0.5862, allocations: 7.596 MB / 0.6881 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.5863, allocations: 8.031 kB / 0.6881 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002851/0.5891, allocations: 0.8994 MB / 0.689 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.6004, allocations: 1.514 MB / 0.6905 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009632/0.61, allocations: 4.205 MB / 0.6946 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004089/0.6105, allocations: 456.5 kB / 0.695 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002185/0.6127, allocations: 0.5939 MB / 0.6956 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0226/0.6353, allocations: 10.69 MB / 0.7061 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002378/0.6355, allocations: 27.78 kB / 0.7061 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001596/0.6371, allocations: 263.9 kB / 0.7063 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00281/0.64, allocations: 0.769 MB / 0.7071 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01708/0.6571, allocations: 8.561 MB / 0.7154 GB, free: 428 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3032/0.9603, allocations: 46.86 MB / 0.7612 GB, free: 135.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007326/0.9676, allocations: 4.307 MB / 0.7654 GB, free: 133.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006357/0.974, allocations: 3.7 MB / 0.769 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004685/0.9745, allocations: 35.84 kB / 0.7691 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.764e-05/0.9746, allocations: 88.47 kB / 0.7691 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=353): time 7.454e-06/0.9747, allocations: 3.984 kB / 0.7692 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=578): time 0.4342/1.409, allocations: 122.8 MB / 0.8891 GB, free: 30.69 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/1.409, allocations: 111.9 kB / 0.8892 GB, free: 30.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003854/1.413, allocations: 2.677 MB / 0.8918 GB, free: 27.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001041/1.414, allocations: 125.7 kB / 0.8919 GB, free: 27.76 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/1.415, allocations: 2.678 MB / 0.8945 GB, free: 25.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002225/1.417, allocations: 1.949 MB / 0.8964 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002813/1.42, allocations: 0.9326 MB / 0.8973 GB, free: 22.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.157e-05/1.42, allocations: 301.1 kB / 0.8976 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00512/1.425, allocations: 4.079 MB / 0.9016 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00531/1.431, allocations: 5.019 MB / 0.9065 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/1.442, allocations: 9.844 MB / 0.9161 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-05/1.442, allocations: 4 kB / 0.9161 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04057/1.483, allocations: 17 MB / 0.9327 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.601e-05/1.483, allocations: 16 kB / 0.9328 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.366e-05/1.483, allocations: 24 kB / 0.9328 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03222/1.515, allocations: 9.148 MB / 0.9417 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002612/1.518, allocations: 0.5193 MB / 0.9422 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3699/1.888, allocations: 77.01 MB / 1.017 GB, free: 201.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004866/1.893, allocations: 278.3 kB / 1.018 GB, free: 201.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007139/1.893, allocations: 188.8 kB / 1.018 GB, free: 201.1 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004523/1.898, allocations: 2.425 MB / 1.02 GB, free: 200.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/1.899, allocations: 470.1 kB / 1.021 GB, free: 200.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03867/1.938, allocations: 16.82 MB / 1.037 GB, free: 193.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.535e-05/1.938, allocations: 55.09 kB / 1.037 GB, free: 193.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002236/1.938, allocations: 73.78 kB / 1.037 GB, free: 193.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.655e-05/1.938, allocations: 29.25 kB / 1.037 GB, free: 193.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05007/1.988, allocations: 25.65 MB / 1.062 GB, free: 183.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-05/1.988, allocations: 19.08 kB / 1.062 GB, free: 183.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/1.99, allocations: 318.5 kB / 1.063 GB, free: 183.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02582/2.016, allocations: 8.339 MB / 1.071 GB, free: 178 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001339/2.017, allocations: 111.9 kB / 1.071 GB, free: 177.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08477/2.102, allocations: 73.89 MB / 1.143 GB, free: 102.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/2.102, allocations: 11.94 kB / 1.143 GB, free: 102.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03548/2.138, allocations: 21.57 MB / 1.164 GB, free: 80.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002864/2.141, allocations: 1.36 MB / 1.165 GB, free: 79.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001404/2.142, allocations: 111.9 kB / 1.166 GB, free: 79.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003585/2.146, allocations: 293.2 kB / 1.166 GB, free: 79.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001901/2.148, allocations: 0.5222 MB / 1.166 GB, free: 78.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005289/2.148, allocations: 140 kB / 1.166 GB, free: 78.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002514/2.151, allocations: 1.784 MB / 1.168 GB, free: 76.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/2.151, allocations: 0 / 1.168 GB, free: 76.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006968/2.158, allocations: 2.461 MB / 1.171 GB, free: 74.19 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03693/2.195, allocations: 22.27 MB / 1.192 GB, free: 51.56 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.03034/2.225, allocations: 18.67 MB / 1.211 GB, free: 32.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/2.225, allocations: 0 / 1.211 GB, free: 32.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.02471/2.25, allocations: 9.345 MB / 1.22 GB, free: 23.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01107/2.261, allocations: 1.374 MB / 1.221 GB, free: 21.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.432/2.693, allocations: 82.77 MB / 1.302 GB, free: 171.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005337/2.698, allocations: 4.902 MB / 1.307 GB, free: 170 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002654/2.701, allocations: 0.7401 MB / 1.307 GB, free: 170 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002413/2.703, allocations: 2.608 MB / 1.31 GB, free: 167.7 MB / 0.6544 GB Notification: Performance of SimCode: time 9.82e-07/2.703, allocations: 0 / 1.31 GB, free: 167.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6875/3.391, allocations: 197.5 MB / 1.503 GB, free: 198.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/3.391, allocations: 243.7 kB / 1.503 GB, free: 198.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.569/9.96, allocations: 3.125 kB / 1.503 GB, free: 198.3 MB / 0.67 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/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)