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.001137/0.001137, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001191/0.001191, allocations: 192.5 kB / 16.25 MB, free: 6.578 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002035, allocations: 274.7 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9231/0.9231, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 96.94 kB / 0.5948 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1542, allocations: 86.98 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03581/0.19, allocations: 40.78 MB / 0.7196 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01983/0.2099, allocations: 14.97 MB / 0.7342 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003605/0.2136, allocations: 171.1 kB / 0.7344 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009389/0.223, allocations: 4.173 MB / 0.7384 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006223/0.2292, allocations: 2.586 MB / 0.741 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00613/0.2353, allocations: 2.891 MB / 0.7438 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01214/0.2475, allocations: 11.44 MB / 0.755 GB, free: 3.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01881/0.2663, allocations: 14.85 MB / 0.7695 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2831/0.5495, allocations: 4.895 MB / 0.7742 GB, free: 29.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00813/0.5576, allocations: 5.629 MB / 0.7797 GB, free: 29.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003441/0.5611, allocations: 0.9491 MB / 0.7807 GB, free: 29.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006224/0.5674, allocations: 2.044 MB / 0.7827 GB, free: 29.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.005778/0.5732, allocations: 3.693 MB / 0.7863 GB, free: 28.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.009544/0.5827, allocations: 4.299 MB / 0.7905 GB, free: 27.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0194/0.6021, allocations: 14.3 MB / 0.8044 GB, free: 26.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.6022, allocations: 1.094 kB / 0.8044 GB, free: 26.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6022, allocations: 0 / 0.8044 GB, free: 26.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0005271/0.6027, allocations: 2.375 kB / 0.8044 GB, free: 26.29 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.02873/0.6315, allocations: 7.588 MB / 0.8118 GB, free: 22.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.6315, allocations: 9.625 kB / 0.8118 GB, free: 22.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00416/0.6357, allocations: 0.8989 MB / 0.8127 GB, free: 22.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/0.6488, allocations: 1.514 MB / 0.8142 GB, free: 21.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.6594, allocations: 4.212 MB / 0.8183 GB, free: 20.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003844/0.6598, allocations: 456 kB / 0.8187 GB, free: 20.28 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004338/0.6642, allocations: 0.5929 MB / 0.8193 GB, free: 20.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02519/0.6894, allocations: 10.68 MB / 0.8298 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/0.6896, allocations: 29.59 kB / 0.8298 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008917/0.6905, allocations: 260.6 kB / 0.83 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002555/0.693, allocations: 0.7808 MB / 0.8308 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.7081, allocations: 8.558 MB / 0.8392 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0621/0.7703, allocations: 46.86 MB / 0.8849 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006597/0.7769, allocations: 4.308 MB / 0.8891 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005492/0.7825, allocations: 3.708 MB / 0.8927 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003336/0.7828, allocations: 34.78 kB / 0.8928 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.497e-05/0.7829, allocations: 73.34 kB / 0.8928 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=353): time 5.009e-06/0.7829, allocations: 0 / 0.8928 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of matching and sorting (n=578): time 0.5604/1.343, allocations: 122.8 MB / 1.013 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/1.343, allocations: 111.9 kB / 1.013 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004095/1.348, allocations: 2.681 MB / 1.015 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001249/1.349, allocations: 125.7 kB / 1.016 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001797/1.351, allocations: 2.676 MB / 1.018 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002869/1.354, allocations: 1.955 MB / 1.02 GB, free: 160 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001992/1.356, allocations: 0.9248 MB / 1.021 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.356, allocations: 301.1 kB / 1.021 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005887/1.362, allocations: 4.078 MB / 1.025 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006501/1.368, allocations: 5.018 MB / 1.03 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01418/1.382, allocations: 9.856 MB / 1.04 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.945e-05/1.382, allocations: 4 kB / 1.04 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03906/1.421, allocations: 16.99 MB / 1.056 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/1.421, allocations: 16 kB / 1.056 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/1.421, allocations: 30.5 kB / 1.056 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03131/1.453, allocations: 9.147 MB / 1.065 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/1.455, allocations: 0.5234 MB / 1.066 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4002/1.856, allocations: 77.02 MB / 1.141 GB, free: 208.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004792/1.86, allocations: 276.2 kB / 1.141 GB, free: 208.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006026/1.861, allocations: 189 kB / 1.142 GB, free: 208.1 MB / 0.7794 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.003599/1.865, allocations: 2.427 MB / 1.144 GB, free: 207 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008595/1.866, allocations: 475.6 kB / 1.144 GB, free: 206.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03072/1.896, allocations: 16.82 MB / 1.161 GB, free: 193.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-05/1.896, allocations: 62.38 kB / 1.161 GB, free: 193.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001325/1.897, allocations: 75.98 kB / 1.161 GB, free: 193.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.316e-05/1.897, allocations: 27.91 kB / 1.161 GB, free: 193 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0457/1.942, allocations: 25.65 MB / 1.186 GB, free: 167.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/1.942, allocations: 4 kB / 1.186 GB, free: 167.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/1.944, allocations: 329.7 kB / 1.186 GB, free: 167.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02538/1.969, allocations: 8.337 MB / 1.194 GB, free: 158.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008599/1.97, allocations: 108 kB / 1.195 GB, free: 158.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08019/2.05, allocations: 73.89 MB / 1.267 GB, free: 83.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/2.05, allocations: 11.38 kB / 1.267 GB, free: 83.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03726/2.088, allocations: 21.57 MB / 1.288 GB, free: 61.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002996/2.091, allocations: 1.354 MB / 1.289 GB, free: 60.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007831/2.092, allocations: 108 kB / 1.289 GB, free: 60.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002998/2.095, allocations: 287.6 kB / 1.29 GB, free: 59.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001731/2.096, allocations: 0.5248 MB / 1.29 GB, free: 59.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003745/2.097, allocations: 144 kB / 1.29 GB, free: 59.31 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001887/2.099, allocations: 1.78 MB / 1.292 GB, free: 57.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/2.099, allocations: 0 / 1.292 GB, free: 57.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006165/2.105, allocations: 2.461 MB / 1.294 GB, free: 55.08 MB / 0.7794 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.03592/2.141, allocations: 22.27 MB / 1.316 GB, free: 32.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.03122/2.172, allocations: 18.68 MB / 1.334 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/2.172, allocations: 4.312 kB / 1.334 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01584/2.188, allocations: 9.35 MB / 1.343 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006541/2.194, allocations: 1.38 MB / 1.345 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4143/2.609, allocations: 82.76 MB / 1.426 GB, free: 256.6 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004724/2.613, allocations: 4.893 MB / 1.43 GB, free: 255 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002758/2.616, allocations: 0.744 MB / 1.431 GB, free: 255 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002426/2.619, allocations: 2.609 MB / 1.434 GB, free: 252.8 MB / 0.795 GB Notification: Performance of SimCode: time 8.91e-07/2.619, allocations: 0 / 1.434 GB, free: 252.8 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.293/7.912, allocations: 197.6 MB / 1.627 GB, free: 65.91 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/7.912, allocations: 255.8 kB / 1.627 GB, free: 65.58 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/15.69, allocations: 0 / 1.627 GB, free: 65.58 MB / 0.795 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)