Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 176.6 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 98.22 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003514, allocations: 12.97 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2469, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.02896/0.2759, allocations: 35.69 MB / 0.935 GB, free: 28.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02145/0.2974, allocations: 14.53 MB / 0.9492 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005542/0.303, allocations: 151 kB / 0.9493 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004048/0.3071, allocations: 0.8422 MB / 0.9502 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009022/0.3161, allocations: 2.103 MB / 0.9522 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.007884/0.324, allocations: 1.93 MB / 0.9541 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01089/0.335, allocations: 5.686 MB / 0.9597 GB, free: 2.773 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02222/0.3572, allocations: 13.96 MB / 0.9733 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007178/0.3645, allocations: 3.13 MB / 0.9763 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007665/0.3722, allocations: 3.313 MB / 0.9796 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.00261/0.3748, allocations: 396 kB / 0.98 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004681/0.3795, allocations: 0.7571 MB / 0.9807 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.005178/0.3847, allocations: 2.728 MB / 0.9834 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003729/0.3885, allocations: 1.381 MB / 0.9847 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0154/0.4039, allocations: 11.59 MB / 0.996 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.404, allocations: 0 / 0.996 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.775e-06/0.404, allocations: 0 / 0.996 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005355/0.4045, allocations: 0 / 0.996 GB, free: 13.36 MB / 0.6511 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.01882/0.4234, allocations: 6.189 MB / 1.002 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.4234, allocations: 12.03 kB / 1.002 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004646/0.4281, allocations: 0.8915 MB / 1.003 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.4391, allocations: 1.506 MB / 1.004 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/0.4498, allocations: 4.105 MB / 1.008 GB, free: 496 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004589/0.4503, allocations: 456.1 kB / 1.009 GB, free: 36 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002546/0.4529, allocations: 0.5897 MB / 1.009 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02875/0.4816, allocations: 10.59 MB / 1.02 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003991/0.4821, allocations: 31.69 kB / 1.02 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002499/0.4846, allocations: 259.9 kB / 1.02 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00325/0.4879, allocations: 0.7807 MB / 1.021 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02233/0.5102, allocations: 8.514 MB / 1.029 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5991/1.109, allocations: 46.94 MB / 1.075 GB, free: 112.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007677/1.117, allocations: 4.302 MB / 1.079 GB, free: 112.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005367/1.118, allocations: 36.34 kB / 1.079 GB, free: 112.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.179e-05/1.118, allocations: 78.59 kB / 1.079 GB, free: 112.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=353): time 5.741e-06/1.118, allocations: 0 / 1.079 GB, free: 112.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=578): time 0.5043/1.622, allocations: 127.9 MB / 1.204 GB, free: 4.098 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/1.622, allocations: 111.9 kB / 1.204 GB, free: 3.973 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003653/1.626, allocations: 2.661 MB / 1.207 GB, free: 1.312 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001074/1.627, allocations: 121.7 kB / 1.207 GB, free: 1.188 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001742/1.629, allocations: 2.679 MB / 1.21 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002883/1.632, allocations: 1.956 MB / 1.212 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/1.633, allocations: 112 kB / 1.212 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004195/1.633, allocations: 0.5295 MB / 1.212 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007401/1.64, allocations: 4.056 MB / 1.216 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00879/1.649, allocations: 4.968 MB / 1.221 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008826/1.658, allocations: 4.819 MB / 1.226 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.066e-05/1.658, allocations: 4 kB / 1.226 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04537/1.704, allocations: 16.93 MB / 1.242 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/1.704, allocations: 12 kB / 1.242 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.433e-05/1.704, allocations: 24 kB / 1.242 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03269/1.736, allocations: 9.052 MB / 1.251 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/1.739, allocations: 0.5226 MB / 1.252 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1111/1.85, allocations: 73.69 MB / 1.324 GB, free: 7.832 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005758/1.856, allocations: 283.1 kB / 1.324 GB, free: 7.559 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00138/1.858, allocations: 188 kB / 1.324 GB, free: 7.375 MB / 0.823 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.006173/1.864, allocations: 2.429 MB / 1.326 GB, free: 4.934 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001747/1.866, allocations: 470.5 kB / 1.327 GB, free: 4.469 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04228/1.908, allocations: 16.76 MB / 1.343 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-05/1.908, allocations: 56 kB / 1.343 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002774/1.908, allocations: 72 kB / 1.343 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001455/1.909, allocations: 23.91 kB / 1.343 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05632/1.965, allocations: 25.62 MB / 1.368 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.205e-05/1.965, allocations: 4 kB / 1.368 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/1.967, allocations: 323.5 kB / 1.369 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02916/1.996, allocations: 8.261 MB / 1.377 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00126/1.997, allocations: 112 kB / 1.377 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.51/2.507, allocations: 70.52 MB / 1.446 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/2.507, allocations: 11.81 kB / 1.446 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03702/2.545, allocations: 22.18 MB / 1.467 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004153/2.549, allocations: 1.362 MB / 1.469 GB, free: 236.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001359/2.55, allocations: 108 kB / 1.469 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003901/2.554, allocations: 295.6 kB / 1.469 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002085/2.556, allocations: 0.5158 MB / 1.47 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004612/2.557, allocations: 144 kB / 1.47 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002387/2.559, allocations: 1.745 MB / 1.471 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/2.559, allocations: 7.875 kB / 1.471 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0105/2.569, allocations: 2.438 MB / 1.474 GB, free: 231 MB / 0.8698 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.04393/2.613, allocations: 24.59 MB / 1.498 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02721/2.641, allocations: 14.48 MB / 1.512 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/2.641, allocations: 0 / 1.512 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01987/2.661, allocations: 9.37 MB / 1.521 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00689/2.668, allocations: 1.199 MB / 1.522 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1167/2.784, allocations: 70.8 MB / 1.591 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007812/2.792, allocations: 5.013 MB / 1.596 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003502/2.796, allocations: 0.7449 MB / 1.597 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003599/2.799, allocations: 2.602 MB / 1.6 GB, free: 99.16 MB / 0.8698 GB Notification: Performance of SimCode: time 1.373e-06/2.799, allocations: 0 / 1.6 GB, free: 99.16 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6746/3.474, allocations: 185.8 MB / 1.781 GB, free: 249.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/3.474, allocations: 233.4 kB / 1.781 GB, free: 249 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.528/11, allocations: 4.062 kB / 1.781 GB, free: 248.9 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)