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.0009727/0.0009727, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.00531/0.00531, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.304/1.304, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001739/0.001739, allocations: 262.7 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9379/0.9379, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003868, allocations: 16.17 kB / 0.5987 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1543, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02054/0.1749, allocations: 19.62 MB / 0.7043 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.1867, allocations: 7.491 MB / 0.7116 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.1882, allocations: 51.81 kB / 0.7117 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008498/0.189, allocations: 369.3 kB / 0.712 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.191, allocations: 0.9147 MB / 0.7129 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002915/0.1939, allocations: 1.327 MB / 0.7142 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005851/0.1998, allocations: 6.449 MB / 0.7205 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009715/0.2095, allocations: 7.513 MB / 0.7278 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.2116, allocations: 1.257 MB / 0.7291 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/0.214, allocations: 1.873 MB / 0.7309 GB, free: 24 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002999/0.2143, allocations: 176 kB / 0.7311 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.2157, allocations: 0.8266 MB / 0.7319 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.2169, allocations: 1.337 MB / 0.7332 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.2182, allocations: 1.382 MB / 0.7345 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004911/0.2231, allocations: 5.856 MB / 0.7402 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2232, allocations: 3.938 kB / 0.7402 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.857e-06/0.2232, allocations: 4 kB / 0.7402 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001506/0.2233, allocations: 0 / 0.7402 GB, free: 6.406 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.00515/0.2285, allocations: 2.435 MB / 0.7426 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2285, allocations: 12.03 kB / 0.7426 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003003/0.2315, allocations: 0.6921 MB / 0.7433 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.2338, allocations: 1.532 MB / 0.7448 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.234, allocations: 214.2 kB / 0.745 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004458/0.2344, allocations: 292.2 kB / 0.7453 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00759/0.242, allocations: 5.047 MB / 0.7502 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-05/0.2421, allocations: 7.938 kB / 0.7502 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003049/0.2424, allocations: 131.9 kB / 0.7504 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002224/0.2427, allocations: 204.6 kB / 0.7505 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006495/0.2492, allocations: 4.192 MB / 0.7546 GB, free: 7.352 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3322/0.5814, allocations: 23.01 MB / 0.7771 GB, free: 80.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003357/0.5848, allocations: 1.728 MB / 0.7788 GB, free: 80.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.5863, allocations: 1.127 MB / 0.7799 GB, free: 80.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.5864, allocations: 100.1 kB / 0.78 GB, free: 80.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.5865, allocations: 43.38 kB / 0.78 GB, free: 80.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 3.907e-06/0.5865, allocations: 1.625 kB / 0.78 GB, free: 80.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87): time 0.00553/0.592, allocations: 4.012 MB / 0.784 GB, free: 79.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.5921, allocations: 141.4 kB / 0.7841 GB, free: 79.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009167/0.593, allocations: 0.8465 MB / 0.7849 GB, free: 78.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.322e-05/0.5931, allocations: 40.14 kB / 0.785 GB, free: 78.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005319/0.5937, allocations: 1.168 MB / 0.7861 GB, free: 78.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/0.5939, allocations: 310.6 kB / 0.7864 GB, free: 78 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.5941, allocations: 105 kB / 0.7865 GB, free: 77.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5943, allocations: 410.4 kB / 0.7869 GB, free: 77.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.5954, allocations: 0.7999 MB / 0.7877 GB, free: 77.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.5966, allocations: 1.295 MB / 0.7889 GB, free: 76.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/0.599, allocations: 2.149 MB / 0.791 GB, free: 75.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.599, allocations: 4.438 kB / 0.791 GB, free: 75.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002989/0.602, allocations: 2.181 MB / 0.7932 GB, free: 74.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.6022, allocations: 0.5033 MB / 0.7937 GB, free: 73.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.6023, allocations: 15.83 kB / 0.7937 GB, free: 73.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/0.6023, allocations: 19.31 kB / 0.7937 GB, free: 73.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.6038, allocations: 405.9 kB / 0.7941 GB, free: 73.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.048e-05/0.6039, allocations: 32.48 kB / 0.7941 GB, free: 73.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.605, allocations: 205.4 kB / 0.7943 GB, free: 73.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.57e-05/0.6052, allocations: 61.28 kB / 0.7944 GB, free: 73.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.6052, allocations: 7.375 kB / 0.7944 GB, free: 73.76 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002387/0.6076, allocations: 1.769 MB / 0.7961 GB, free: 73.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.6076, allocations: 15.77 kB / 0.7961 GB, free: 73.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.6076, allocations: 22.03 kB / 0.7961 GB, free: 73.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.6088, allocations: 351.7 kB / 0.7965 GB, free: 73.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.587e-05/0.6089, allocations: 36.22 kB / 0.7965 GB, free: 73.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008795/0.6097, allocations: 149.9 kB / 0.7966 GB, free: 73.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.401e-05/0.6098, allocations: 61.09 kB / 0.7967 GB, free: 73.02 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.001834/0.6117, allocations: 1.171 MB / 0.7978 GB, free: 72.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000297/0.612, allocations: 103.2 kB / 0.7979 GB, free: 72.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.615, allocations: 1.859 MB / 0.7998 GB, free: 71.69 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.615, allocations: 9.656 kB / 0.7998 GB, free: 71.69 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.615, allocations: 1.156 kB / 0.7998 GB, free: 71.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.615, allocations: 4.672 kB / 0.7998 GB, free: 71.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/0.6267, allocations: 9.589 MB / 0.8091 GB, free: 66.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.6268, allocations: 9.719 kB / 0.8091 GB, free: 66.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.628, allocations: 318 kB / 0.8095 GB, free: 66.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-05/0.628, allocations: 18.83 kB / 0.8095 GB, free: 66.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.568e-05/0.6281, allocations: 30.81 kB / 0.8095 GB, free: 66.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.712e-05/0.6281, allocations: 26.58 kB / 0.8095 GB, free: 66.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-05/0.6282, allocations: 19.69 kB / 0.8095 GB, free: 66.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.6307, allocations: 2.408 MB / 0.8119 GB, free: 65.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/0.6312, allocations: 387 kB / 0.8123 GB, free: 64.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.6314, allocations: 28.16 kB / 0.8123 GB, free: 64.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008709/0.6322, allocations: 138.9 kB / 0.8124 GB, free: 64.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.6324, allocations: 94.95 kB / 0.8125 GB, free: 64.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/0.6325, allocations: 35.69 kB / 0.8125 GB, free: 64.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006398/0.6331, allocations: 0.5925 MB / 0.8131 GB, free: 64.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6331, allocations: 0 / 0.8131 GB, free: 64.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002382/0.6355, allocations: 0.7477 MB / 0.8139 GB, free: 64.32 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.0001891/0.6357, allocations: 151.2 kB / 0.814 GB, free: 64.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003488/0.6392, allocations: 2.837 MB / 0.8168 GB, free: 62.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.996e-06/0.6393, allocations: 0 / 0.8168 GB, free: 62.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.6404, allocations: 0.919 MB / 0.8177 GB, free: 62.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00292/0.6433, allocations: 289.2 kB / 0.8179 GB, free: 62.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00721/0.6505, allocations: 6.222 MB / 0.824 GB, free: 57.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/0.6521, allocations: 2.126 MB / 0.8261 GB, free: 55.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001685/0.6538, allocations: 0.7412 MB / 0.8268 GB, free: 54.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.6542, allocations: 79.42 kB / 0.8269 GB, free: 54.39 MB / 0.5606 GB Notification: Performance of SimCode: time 8.91e-07/0.6542, allocations: 4 kB / 0.8269 GB, free: 54.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.0224/0.6766, allocations: 16.47 MB / 0.843 GB, free: 38.13 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)