Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_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.001195/0.001195, allocations: 108 kB / 15.6 MB, free: 132 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.001248/0.001248, allocations: 198.2 kB / 16.54 MB, free: 6.391 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002226/0.002226, allocations: 290.6 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9496/0.9496, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 94.58 kB / 0.5954 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1443, allocations: 86.98 MB / 0.6803 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0433/0.1877, allocations: 41.16 MB / 0.7205 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02375/0.2115, allocations: 15.09 MB / 0.7352 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004032/0.2155, allocations: 187.1 kB / 0.7354 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01108/0.2266, allocations: 4.467 MB / 0.7398 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007768/0.2344, allocations: 2.794 MB / 0.7425 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008186/0.2426, allocations: 3.156 MB / 0.7456 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01464/0.2573, allocations: 11.41 MB / 0.7567 GB, free: 2.074 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01905/0.2764, allocations: 12.64 MB / 0.7691 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009468/0.2859, allocations: 4.795 MB / 0.7737 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3075/0.5935, allocations: 5.374 MB / 0.779 GB, free: 30.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004378/0.5979, allocations: 0.9488 MB / 0.7799 GB, free: 30.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006889/0.6048, allocations: 2.041 MB / 0.7819 GB, free: 30.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.006004/0.6108, allocations: 3.694 MB / 0.7855 GB, free: 30.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.009829/0.6207, allocations: 4.298 MB / 0.7897 GB, free: 29.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02105/0.6418, allocations: 14.19 MB / 0.8036 GB, free: 28.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.6418, allocations: 0.5312 kB / 0.8036 GB, free: 28.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.445e-06/0.6418, allocations: 1.031 kB / 0.8036 GB, free: 28.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004586/0.6423, allocations: 2.719 kB / 0.8036 GB, free: 28.45 MB / 0.5606 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.02614/0.6684, allocations: 7.592 MB / 0.811 GB, free: 25.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.6685, allocations: 9.625 kB / 0.811 GB, free: 25.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002805/0.6713, allocations: 0.8981 MB / 0.8119 GB, free: 24.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/0.6834, allocations: 1.514 MB / 0.8134 GB, free: 24.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/0.6936, allocations: 4.208 MB / 0.8175 GB, free: 22.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003971/0.694, allocations: 454.3 kB / 0.8179 GB, free: 22.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003289/0.6973, allocations: 0.5903 MB / 0.8185 GB, free: 22.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02661/0.7239, allocations: 10.68 MB / 0.8289 GB, free: 16.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002809/0.7242, allocations: 39.83 kB / 0.829 GB, free: 16.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00261/0.7268, allocations: 263 kB / 0.8292 GB, free: 16.44 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003039/0.7299, allocations: 0.7772 MB / 0.83 GB, free: 16.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01986/0.7498, allocations: 8.552 MB / 0.8383 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06553/0.8153, allocations: 46.86 MB / 0.8841 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006716/0.8221, allocations: 4.3 MB / 0.8883 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006673/0.8288, allocations: 3.708 MB / 0.8919 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/0.8294, allocations: 34.78 kB / 0.8919 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.917e-05/0.8295, allocations: 73.34 kB / 0.892 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=353): time 8.195e-06/0.8295, allocations: 0 / 0.892 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=578): time 0.5676/1.397, allocations: 122.8 MB / 1.012 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/1.397, allocations: 111.9 kB / 1.012 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005284/1.403, allocations: 2.685 MB / 1.015 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001854/1.404, allocations: 121.7 kB / 1.015 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002011/1.406, allocations: 2.682 MB / 1.017 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002935/1.409, allocations: 1.949 MB / 1.019 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003653/1.413, allocations: 0.9209 MB / 1.02 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.425e-05/1.413, allocations: 305.1 kB / 1.02 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007068/1.42, allocations: 4.079 MB / 1.024 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007388/1.428, allocations: 5.016 MB / 1.029 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0152/1.443, allocations: 9.854 MB / 1.039 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.764e-05/1.443, allocations: 4 kB / 1.039 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.3295/1.772, allocations: 17 MB / 1.056 GB, free: 266.1 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/1.773, allocations: 15.48 kB / 1.056 GB, free: 266.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.383e-05/1.773, allocations: 22.44 kB / 1.056 GB, free: 266.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03342/1.806, allocations: 9.151 MB / 1.065 GB, free: 265.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/1.809, allocations: 0.5229 MB / 1.065 GB, free: 265.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1005/1.909, allocations: 77.03 MB / 1.14 GB, free: 218.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006091/1.915, allocations: 277.3 kB / 1.141 GB, free: 218.4 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001636/1.917, allocations: 192 kB / 1.141 GB, free: 218.2 MB / 0.7637 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.007023/1.924, allocations: 2.429 MB / 1.143 GB, free: 215.8 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002063/1.926, allocations: 473 kB / 1.144 GB, free: 215.4 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03916/1.965, allocations: 16.81 MB / 1.16 GB, free: 198.5 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.487e-05/1.965, allocations: 60 kB / 1.16 GB, free: 198.4 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002431/1.966, allocations: 72 kB / 1.16 GB, free: 198.3 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001191/1.966, allocations: 28.58 kB / 1.16 GB, free: 198.3 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05404/2.02, allocations: 25.66 MB / 1.185 GB, free: 172.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.568e-05/2.02, allocations: 8 kB / 1.185 GB, free: 172.4 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/2.022, allocations: 315.5 kB / 1.186 GB, free: 172.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02758/2.049, allocations: 8.338 MB / 1.194 GB, free: 163.7 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001362/2.051, allocations: 111.1 kB / 1.194 GB, free: 163.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08877/2.14, allocations: 73.89 MB / 1.266 GB, free: 88.24 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/2.14, allocations: 11.94 kB / 1.266 GB, free: 88.23 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04037/2.18, allocations: 21.57 MB / 1.287 GB, free: 66.31 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003374/2.183, allocations: 1.361 MB / 1.288 GB, free: 64.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001694/2.185, allocations: 108.1 kB / 1.288 GB, free: 64.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004439/2.19, allocations: 295.6 kB / 1.289 GB, free: 64.54 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002095/2.192, allocations: 0.5195 MB / 1.289 GB, free: 64.01 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000638/2.192, allocations: 144 kB / 1.289 GB, free: 63.87 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002301/2.195, allocations: 1.776 MB / 1.291 GB, free: 62.1 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.9e-07/2.195, allocations: 0 / 1.291 GB, free: 62.1 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0074/2.202, allocations: 2.469 MB / 1.293 GB, free: 59.63 MB / 0.7637 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.03831/2.24, allocations: 22.27 MB / 1.315 GB, free: 37 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.03235/2.273, allocations: 18.67 MB / 1.333 GB, free: 18.17 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/2.273, allocations: 3.938 kB / 1.333 GB, free: 18.17 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01637/2.289, allocations: 9.352 MB / 1.343 GB, free: 8.676 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00672/2.296, allocations: 1.379 MB / 1.344 GB, free: 7.375 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.408/2.704, allocations: 79.87 MB / 1.422 GB, free: 224.3 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007445/2.711, allocations: 4.89 MB / 1.427 GB, free: 222.7 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003017/2.715, allocations: 0.7466 MB / 1.427 GB, free: 222.7 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003037/2.718, allocations: 2.609 MB / 1.43 GB, free: 220.4 MB / 0.7637 GB Notification: Performance of SimCode: time 8.62e-07/2.718, allocations: 0 / 1.43 GB, free: 220.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2707/2.988, allocations: 196.9 MB / 1.622 GB, free: 28.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/16.46, allocations: 14.84 kB / 1.622 GB, free: 28.09 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)