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.0007951/0.0007952, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.00516/0.00516, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.291/1.291, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 274.4 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.918/0.918, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.000398, allocations: 14.75 kB / 0.5988 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1627, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03977/0.2025, allocations: 39.84 MB / 0.7241 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02418/0.2268, allocations: 14.94 MB / 0.7387 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005067/0.2319, allocations: 163 kB / 0.7389 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003483/0.2354, allocations: 0.8606 MB / 0.7397 GB, free: 7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008472/0.2439, allocations: 2.64 MB / 0.7423 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007497/0.2514, allocations: 2.706 MB / 0.745 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0177/0.2691, allocations: 16 MB / 0.7606 GB, free: 1.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3373/0.6065, allocations: 15.77 MB / 0.776 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007308/0.6138, allocations: 3.544 MB / 0.7794 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009795/0.6236, allocations: 4.756 MB / 0.7841 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.6255, allocations: 397.2 kB / 0.7845 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005553/0.6311, allocations: 1.825 MB / 0.7862 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005215/0.6363, allocations: 2.996 MB / 0.7892 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007718/0.6441, allocations: 3.534 MB / 0.7926 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01392/0.658, allocations: 13.59 MB / 0.8059 GB, free: 8.953 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.6581, allocations: 0 / 0.8059 GB, free: 8.953 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.525e-06/0.6581, allocations: 3.984 kB / 0.8059 GB, free: 8.949 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003806/0.6585, allocations: 0 / 0.8059 GB, free: 8.949 MB / 0.545 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.01637/0.6748, allocations: 6.158 MB / 0.8119 GB, free: 5.504 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.6749, allocations: 10.16 kB / 0.8119 GB, free: 5.504 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003218/0.6781, allocations: 0.8878 MB / 0.8128 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.6888, allocations: 1.525 MB / 0.8143 GB, free: 4.605 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008054/0.6969, allocations: 4.202 MB / 0.8184 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003044/0.6972, allocations: 456.9 kB / 0.8188 GB, free: 3.109 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002124/0.6993, allocations: 0.6016 MB / 0.8194 GB, free: 3.094 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02357/0.7229, allocations: 10.68 MB / 0.8298 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003104/0.7233, allocations: 25.25 kB / 0.8298 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002463/0.7257, allocations: 265.8 kB / 0.8301 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002739/0.7285, allocations: 0.7757 MB / 0.8309 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01979/0.7483, allocations: 8.556 MB / 0.8392 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06989/0.8182, allocations: 47.01 MB / 0.8851 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006234/0.8245, allocations: 4.317 MB / 0.8893 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005386/0.8299, allocations: 3.685 MB / 0.8929 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/0.8302, allocations: 41.67 kB / 0.893 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.366e-05/0.8302, allocations: 73.34 kB / 0.893 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=353): time 5.2e-06/0.8303, allocations: 0 / 0.893 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=578): time 0.51/1.34, allocations: 128.1 MB / 1.018 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/1.34, allocations: 111.9 kB / 1.018 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004401/1.345, allocations: 2.685 MB / 1.021 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001527/1.346, allocations: 117.7 kB / 1.021 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002115/1.349, allocations: 2.678 MB / 1.024 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.00328/1.352, allocations: 1.958 MB / 1.026 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008277/1.353, allocations: 446 kB / 1.026 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.411e-05/1.353, allocations: 301.1 kB / 1.026 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006212/1.359, allocations: 4.078 MB / 1.03 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007136/1.366, allocations: 5.019 MB / 1.035 GB, free: 8.941 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3024/1.669, allocations: 9.844 MB / 1.045 GB, free: 260.4 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.552e-05/1.669, allocations: 10.5 kB / 1.045 GB, free: 260.4 MB / 0.7637 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03872/1.707, allocations: 16.99 MB / 1.061 GB, free: 256.9 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/1.707, allocations: 23.05 kB / 1.061 GB, free: 256.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.551e-05/1.707, allocations: 23.75 kB / 1.061 GB, free: 256.9 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03121/1.739, allocations: 9.081 MB / 1.07 GB, free: 254.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/1.741, allocations: 0.5249 MB / 1.071 GB, free: 254.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08413/1.825, allocations: 70.71 MB / 1.14 GB, free: 208.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006445/1.832, allocations: 287.8 kB / 1.14 GB, free: 208.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/1.833, allocations: 189.4 kB / 1.14 GB, free: 208.3 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.005339/1.838, allocations: 2.424 MB / 1.143 GB, free: 205.9 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.84, allocations: 474.4 kB / 1.143 GB, free: 205.4 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03375/1.873, allocations: 16.82 MB / 1.16 GB, free: 188.4 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-05/1.873, allocations: 56 kB / 1.16 GB, free: 188.4 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002048/1.874, allocations: 72 kB / 1.16 GB, free: 188.3 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001079/1.874, allocations: 27.89 kB / 1.16 GB, free: 188.3 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04696/1.921, allocations: 25.68 MB / 1.185 GB, free: 162.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.243e-05/1.921, allocations: 12.92 kB / 1.185 GB, free: 162.4 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.923, allocations: 315.5 kB / 1.185 GB, free: 162.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02608/1.949, allocations: 8.269 MB / 1.193 GB, free: 153.8 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008848/1.95, allocations: 115.8 kB / 1.193 GB, free: 153.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07633/2.026, allocations: 67.58 MB / 1.259 GB, free: 84.61 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/2.026, allocations: 11.94 kB / 1.259 GB, free: 84.6 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0359/2.062, allocations: 21.57 MB / 1.28 GB, free: 62.69 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002931/2.065, allocations: 1.361 MB / 1.282 GB, free: 61.31 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007451/2.066, allocations: 112 kB / 1.282 GB, free: 61.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003044/2.069, allocations: 283.6 kB / 1.282 GB, free: 60.92 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001698/2.07, allocations: 0.5221 MB / 1.283 GB, free: 60.39 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003478/2.071, allocations: 144 kB / 1.283 GB, free: 60.25 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002025/2.073, allocations: 1.776 MB / 1.284 GB, free: 58.49 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.2e-07/2.073, allocations: 4 kB / 1.284 GB, free: 58.48 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006711/2.079, allocations: 2.465 MB / 1.287 GB, free: 56.02 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.03811/2.118, allocations: 22.27 MB / 1.309 GB, free: 33.39 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.02171/2.139, allocations: 14.52 MB / 1.323 GB, free: 18.69 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/2.139, allocations: 4.312 kB / 1.323 GB, free: 18.68 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01539/2.155, allocations: 9.396 MB / 1.332 GB, free: 9.148 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008596/2.163, allocations: 1.288 MB / 1.333 GB, free: 7.887 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4209/2.584, allocations: 82.83 MB / 1.414 GB, free: 216.2 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004991/2.589, allocations: 4.896 MB / 1.419 GB, free: 214.6 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002621/2.592, allocations: 0.7434 MB / 1.42 GB, free: 214.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/2.594, allocations: 2.607 MB / 1.422 GB, free: 212.3 MB / 0.7637 GB Notification: Performance of SimCode: time 7.81e-07/2.594, allocations: 4 kB / 1.422 GB, free: 212.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9297/3.524, allocations: 187.3 MB / 1.605 GB, free: 34.81 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/3.524, allocations: 263.4 kB / 1.605 GB, free: 34.49 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.941/9.465, allocations: 0 / 1.605 GB, free: 34.49 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)