Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.001031, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001087/0.001087, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 286.8 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.931/0.931, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 94.36 kB / 0.5945 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1551, allocations: 86.98 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02141/0.1765, allocations: 20.26 MB / 0.6992 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.1888, allocations: 7.569 MB / 0.7066 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.1907, allocations: 51.81 kB / 0.7067 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003256/0.194, allocations: 1.263 MB / 0.7079 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002413/0.1964, allocations: 0.9186 MB / 0.7088 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004468/0.2009, allocations: 1.851 MB / 0.7106 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005952/0.2068, allocations: 6.441 MB / 0.7169 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008627/0.2155, allocations: 6.854 MB / 0.7236 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002451/0.218, allocations: 1.546 MB / 0.7251 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002885/0.2209, allocations: 2.255 MB / 0.7273 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005181/0.2214, allocations: 292 kB / 0.7276 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.2231, allocations: 0.9399 MB / 0.7285 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.2245, allocations: 1.524 MB / 0.73 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.2262, allocations: 1.568 MB / 0.7315 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004879/0.2311, allocations: 6.069 MB / 0.7374 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.2312, allocations: 4 kB / 0.7374 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2312, allocations: 0 / 0.7374 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001191/0.2313, allocations: 0 / 0.7374 GB, free: 5.578 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.005831/0.2371, allocations: 3.038 MB / 0.7404 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.2372, allocations: 8.031 kB / 0.7404 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002893/0.2401, allocations: 0.6843 MB / 0.7411 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002542/0.2426, allocations: 1.536 MB / 0.7426 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.2428, allocations: 218.2 kB / 0.7428 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005175/0.2433, allocations: 284.3 kB / 0.7431 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00824/0.2516, allocations: 5.043 MB / 0.748 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.774e-05/0.2517, allocations: 7.938 kB / 0.748 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002878/0.252, allocations: 120 kB / 0.7481 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002156/0.2522, allocations: 212.6 kB / 0.7483 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006431/0.2586, allocations: 4.177 MB / 0.7524 GB, free: 5.957 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3015/0.5601, allocations: 23.01 MB / 0.7749 GB, free: 82.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/0.563, allocations: 1.716 MB / 0.7765 GB, free: 82.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.5645, allocations: 1.135 MB / 0.7777 GB, free: 82.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.5647, allocations: 99.33 kB / 0.7777 GB, free: 82.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.5647, allocations: 44.72 kB / 0.7778 GB, free: 82.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 2.885e-06/0.5647, allocations: 0.625 kB / 0.7778 GB, free: 82.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87): time 0.005577/0.5703, allocations: 3.987 MB / 0.7817 GB, free: 81.06 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.5704, allocations: 149.4 kB / 0.7818 GB, free: 80.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009093/0.5713, allocations: 0.8486 MB / 0.7827 GB, free: 80.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.974e-05/0.5714, allocations: 47.16 kB / 0.7827 GB, free: 80.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/0.5718, allocations: 1.154 MB / 0.7838 GB, free: 79.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.572, allocations: 314.4 kB / 0.7841 GB, free: 79.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003913/0.5724, allocations: 272.3 kB / 0.7844 GB, free: 79.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5726, allocations: 407.3 kB / 0.7848 GB, free: 79.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.5736, allocations: 0.8002 MB / 0.7856 GB, free: 78.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.575, allocations: 1.294 MB / 0.7868 GB, free: 77.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002388/0.5774, allocations: 2.145 MB / 0.7889 GB, free: 76.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.5774, allocations: 2.438 kB / 0.7889 GB, free: 76.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003294/0.5807, allocations: 2.168 MB / 0.791 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.5808, allocations: 14.34 kB / 0.791 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/0.5808, allocations: 16.12 kB / 0.7911 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.076e-05/0.5809, allocations: 20.97 kB / 0.7911 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.5825, allocations: 412.8 kB / 0.7915 GB, free: 75.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.215e-05/0.5825, allocations: 28.33 kB / 0.7915 GB, free: 75.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.5838, allocations: 198.5 kB / 0.7917 GB, free: 75.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.584, allocations: 59.09 kB / 0.7918 GB, free: 75.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002974/0.587, allocations: 1.659 MB / 0.7934 GB, free: 75.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001116/0.5881, allocations: 1.165 MB / 0.7945 GB, free: 74.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002078/0.5902, allocations: 1.885 MB / 0.7964 GB, free: 73.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.145e-05/0.5902, allocations: 8.469 kB / 0.7964 GB, free: 73.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002798/0.593, allocations: 1.879 MB / 0.7982 GB, free: 72.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.593, allocations: 14.56 kB / 0.7982 GB, free: 72.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.593, allocations: 19.28 kB / 0.7982 GB, free: 72.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.5931, allocations: 22.25 kB / 0.7982 GB, free: 72.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.5942, allocations: 362 kB / 0.7986 GB, free: 72.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.621e-05/0.5943, allocations: 29.84 kB / 0.7986 GB, free: 72.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009421/0.5952, allocations: 163.1 kB / 0.7988 GB, free: 72.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.162e-05/0.5953, allocations: 56.66 kB / 0.7988 GB, free: 72.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003273/0.5957, allocations: 266.9 kB / 0.7991 GB, free: 72.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.5959, allocations: 103.8 kB / 0.7992 GB, free: 72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/0.5983, allocations: 1.84 MB / 0.801 GB, free: 71.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.5984, allocations: 9.812 kB / 0.801 GB, free: 71.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5984, allocations: 1.125 kB / 0.801 GB, free: 71.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.5984, allocations: 4.781 kB / 0.801 GB, free: 71.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/0.6088, allocations: 9.584 MB / 0.8104 GB, free: 66.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.6089, allocations: 13.56 kB / 0.8104 GB, free: 66.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.61, allocations: 312.4 kB / 0.8107 GB, free: 65.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/0.61, allocations: 15.84 kB / 0.8107 GB, free: 65.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-05/0.6101, allocations: 27.84 kB / 0.8107 GB, free: 65.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.265e-05/0.6101, allocations: 23.73 kB / 0.8107 GB, free: 65.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/0.6101, allocations: 22.28 kB / 0.8108 GB, free: 65.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.6123, allocations: 2.4 MB / 0.8131 GB, free: 64.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000432/0.6127, allocations: 377.5 kB / 0.8135 GB, free: 63.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.6129, allocations: 34.94 kB / 0.8135 GB, free: 63.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008189/0.6137, allocations: 129.9 kB / 0.8136 GB, free: 63.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.6139, allocations: 96.7 kB / 0.8137 GB, free: 63.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.69e-05/0.614, allocations: 38.5 kB / 0.8137 GB, free: 63.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005668/0.6145, allocations: 0.591 MB / 0.8143 GB, free: 63.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6146, allocations: 0 / 0.8143 GB, free: 63.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002307/0.6169, allocations: 0.7483 MB / 0.815 GB, free: 63.46 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001971/0.6171, allocations: 144.3 kB / 0.8152 GB, free: 63.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003289/0.6204, allocations: 2.831 MB / 0.818 GB, free: 61.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6204, allocations: 0 / 0.818 GB, free: 61.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009875/0.6214, allocations: 0.9086 MB / 0.8188 GB, free: 61.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.623, allocations: 294.4 kB / 0.8191 GB, free: 61.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006321/0.6293, allocations: 6.2 MB / 0.8252 GB, free: 54.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/0.6307, allocations: 2.13 MB / 0.8273 GB, free: 52.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001613/0.6323, allocations: 0.7407 MB / 0.828 GB, free: 52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.6327, allocations: 79.42 kB / 0.8281 GB, free: 51.93 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.6327, allocations: 4 kB / 0.8281 GB, free: 51.92 MB / 0.5606 GB Notification: Performance of Templates: time 0.0216/0.6543, allocations: 16.74 MB / 0.8444 GB, free: 35.45 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)