Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.0009832/0.0009833, allocations: 90.52 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.007398/0.007398, allocations: 171.1 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.289/1.289, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001674/0.001674, allocations: 267.1 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.9089/0.9089, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004226, allocations: 19.62 kB / 0.5988 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1569, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02097/0.1779, allocations: 19.48 MB / 0.7043 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01083/0.1888, allocations: 6.375 MB / 0.7105 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.1906, allocations: 71.56 kB / 0.7106 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.1921, allocations: 400.9 kB / 0.7109 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003336/0.1955, allocations: 1.128 MB / 0.712 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.1985, allocations: 1.072 MB / 0.7131 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008974/0.2075, allocations: 6.975 MB / 0.7199 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/0.2196, allocations: 7.273 MB / 0.727 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002904/0.2226, allocations: 1.498 MB / 0.7285 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003419/0.226, allocations: 2.02 MB / 0.7304 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007793/0.2268, allocations: 180 kB / 0.7306 GB, free: 332 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.2291, allocations: 0.9124 MB / 0.7315 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002087/0.2312, allocations: 1.352 MB / 0.7328 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002998/0.2342, allocations: 1.576 MB / 0.7344 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0069/0.2411, allocations: 6.21 MB / 0.7404 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2412, allocations: 0 / 0.7404 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2412, allocations: 0 / 0.7404 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001772/0.2414, allocations: 0 / 0.7404 GB, free: 6.234 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005942/0.2473, allocations: 2.818 MB / 0.7432 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2474, allocations: 8.031 kB / 0.7432 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009015/0.2483, allocations: 458.5 kB / 0.7436 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/0.2517, allocations: 0.6371 MB / 0.7442 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003224/0.2549, allocations: 1.947 MB / 0.7461 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.2551, allocations: 222.3 kB / 0.7464 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004842/0.2555, allocations: 296.1 kB / 0.7466 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007662/0.2632, allocations: 4.886 MB / 0.7514 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.988e-05/0.2633, allocations: 11.84 kB / 0.7514 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003004/0.2636, allocations: 128 kB / 0.7515 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004093/0.264, allocations: 229.7 kB / 0.7518 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00576/0.2698, allocations: 3.746 MB / 0.7554 GB, free: 6.523 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3052/0.5751, allocations: 21.62 MB / 0.7765 GB, free: 82.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.5769, allocations: 1.301 MB / 0.7778 GB, free: 82.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.5783, allocations: 1.038 MB / 0.7788 GB, free: 82.69 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.249e-05/0.5784, allocations: 13.12 kB / 0.7788 GB, free: 82.69 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.5784, allocations: 49.47 kB / 0.7789 GB, free: 82.65 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 2.545e-06/0.5784, allocations: 0 / 0.7789 GB, free: 82.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.02149/0.5999, allocations: 8.719 MB / 0.7874 GB, free: 81.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.6, allocations: 67.27 kB / 0.7875 GB, free: 81.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.6014, allocations: 1.132 MB / 0.7886 GB, free: 81.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.169e-05/0.6015, allocations: 51.14 kB / 0.7886 GB, free: 81.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006153/0.6021, allocations: 1.3 MB / 0.7899 GB, free: 80.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.6024, allocations: 482.1 kB / 0.7903 GB, free: 79.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.6026, allocations: 130.2 kB / 0.7905 GB, free: 79.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.621e-05/0.6026, allocations: 307.9 kB / 0.7908 GB, free: 79.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.6037, allocations: 0.9125 MB / 0.7917 GB, free: 79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.605, allocations: 1.32 MB / 0.7929 GB, free: 78.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002542/0.6076, allocations: 2.427 MB / 0.7953 GB, free: 76.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.6076, allocations: 5.344 kB / 0.7953 GB, free: 76.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005463/0.6131, allocations: 3.468 MB / 0.7987 GB, free: 75.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.6131, allocations: 13.5 kB / 0.7987 GB, free: 75.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.6131, allocations: 12.78 kB / 0.7987 GB, free: 75.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002847/0.616, allocations: 1.185 MB / 0.7999 GB, free: 75.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008014/0.6168, allocations: 254.9 kB / 0.8001 GB, free: 75.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/0.6301, allocations: 12.76 MB / 0.8126 GB, free: 66.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.6311, allocations: 87.33 kB / 0.8127 GB, free: 66.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.6313, allocations: 74.98 kB / 0.8127 GB, free: 66.42 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001405/0.6327, allocations: 1.11 MB / 0.8138 GB, free: 65.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/0.6329, allocations: 161 kB / 0.814 GB, free: 65.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004631/0.6375, allocations: 3.173 MB / 0.8171 GB, free: 63.78 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.6376, allocations: 11.69 kB / 0.8171 GB, free: 63.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-05/0.6376, allocations: 13.25 kB / 0.8171 GB, free: 63.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.6376, allocations: 7.969 kB / 0.8171 GB, free: 63.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008681/0.6463, allocations: 6.254 MB / 0.8232 GB, free: 60 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.6463, allocations: 3.812 kB / 0.8232 GB, free: 60 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.6468, allocations: 145 kB / 0.8234 GB, free: 59.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002405/0.6493, allocations: 1.075 MB / 0.8244 GB, free: 59.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-05/0.6494, allocations: 30.22 kB / 0.8244 GB, free: 59.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01194/0.6613, allocations: 12.45 MB / 0.8366 GB, free: 47.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.6613, allocations: 8 kB / 0.8366 GB, free: 47.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004439/0.6658, allocations: 3.154 MB / 0.8397 GB, free: 43.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007865/0.6666, allocations: 427.1 kB / 0.8401 GB, free: 43.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00034/0.667, allocations: 35.98 kB / 0.8401 GB, free: 43.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00088/0.6678, allocations: 79.91 kB / 0.8402 GB, free: 43.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.6681, allocations: 125.6 kB / 0.8403 GB, free: 43.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.184e-05/0.6682, allocations: 36 kB / 0.8404 GB, free: 43.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009441/0.6692, allocations: 0.7671 MB / 0.8411 GB, free: 42.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3e-07/0.6692, allocations: 0 / 0.8411 GB, free: 42.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001998/0.6712, allocations: 0.6674 MB / 0.8418 GB, free: 41.66 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004315/0.6755, allocations: 3.736 MB / 0.8454 GB, free: 37.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003886/0.6794, allocations: 3.135 MB / 0.8485 GB, free: 34.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6794, allocations: 0 / 0.8485 GB, free: 34.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002306/0.6817, allocations: 1.967 MB / 0.8504 GB, free: 32.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/0.6844, allocations: 477.5 kB / 0.8508 GB, free: 32.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/0.7098, allocations: 21.37 MB / 0.8717 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/0.7119, allocations: 2.342 MB / 0.874 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009885/0.7129, allocations: 358.1 kB / 0.8743 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008845/0.7138, allocations: 1.007 MB / 0.8753 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.7138, allocations: 0 / 0.8753 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5767/1.291, allocations: 49.36 MB / 0.9235 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/1.291, allocations: 261.2 kB / 0.9238 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.809, allocations: 0 / 0.9238 GB, free: 5.309 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)