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.001049/0.001049, allocations: 105.2 kB / 16.36 MB, free: 6.285 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.0009863/0.0009864, allocations: 192 kB / 17.29 MB, free: 5.863 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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002038, allocations: 278.7 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9375/0.9375, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 90.86 kB / 0.5967 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1609, allocations: 86.98 MB / 0.6816 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.2889/0.4498, allocations: 20.41 MB / 0.7015 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.4622, allocations: 7.529 MB / 0.7089 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002795/0.4651, allocations: 60.41 kB / 0.7089 GB, free: 3.445 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003789/0.4689, allocations: 1.367 MB / 0.7103 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003388/0.4723, allocations: 0.965 MB / 0.7112 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005727/0.4781, allocations: 1.999 MB / 0.7132 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006625/0.4847, allocations: 4.321 MB / 0.7174 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008396/0.4931, allocations: 6.161 MB / 0.7234 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004106/0.4973, allocations: 1.848 MB / 0.7252 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004374/0.5017, allocations: 2.199 MB / 0.7274 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008163/0.5025, allocations: 427.3 kB / 0.7278 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.5046, allocations: 0.9121 MB / 0.7287 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001826/0.5064, allocations: 1.662 MB / 0.7303 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002039/0.5085, allocations: 1.71 MB / 0.7319 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006374/0.5149, allocations: 6.164 MB / 0.738 GB, free: 4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.5149, allocations: 0 / 0.738 GB, free: 4 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.532e-06/0.5149, allocations: 4 kB / 0.738 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001747/0.5151, allocations: 1.25 kB / 0.738 GB, free: 3.996 MB / 0.4981 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.008171/0.5233, allocations: 3.043 MB / 0.7409 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.5233, allocations: 9.562 kB / 0.741 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003347/0.5267, allocations: 0.6824 MB / 0.7416 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003548/0.5302, allocations: 1.567 MB / 0.7431 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.5304, allocations: 222.1 kB / 0.7434 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005067/0.531, allocations: 280.4 kB / 0.7436 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007526/0.5385, allocations: 5.051 MB / 0.7486 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.025e-05/0.5386, allocations: 11.94 kB / 0.7486 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003003/0.5389, allocations: 120 kB / 0.7487 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/0.5391, allocations: 204.6 kB / 0.7489 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005942/0.545, allocations: 4.181 MB / 0.753 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02231/0.5674, allocations: 22.86 MB / 0.7753 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/0.5699, allocations: 1.72 MB / 0.777 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.5713, allocations: 1.135 MB / 0.7781 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.5714, allocations: 97.73 kB / 0.7782 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.5715, allocations: 51.09 kB / 0.7782 GB, free: 10.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=84): time 2.675e-06/0.5715, allocations: 8 kB / 0.7782 GB, free: 10.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=87): time 0.005193/0.5767, allocations: 3.977 MB / 0.7821 GB, free: 6.094 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.5768, allocations: 149 kB / 0.7822 GB, free: 5.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009199/0.5777, allocations: 0.8453 MB / 0.7831 GB, free: 5.062 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.043e-05/0.5778, allocations: 45.7 kB / 0.7831 GB, free: 5.012 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006044/0.5784, allocations: 1.166 MB / 0.7843 GB, free: 3.828 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.5787, allocations: 307.5 kB / 0.7845 GB, free: 3.523 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004071/0.5791, allocations: 270.6 kB / 0.7848 GB, free: 3.254 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5793, allocations: 414.7 kB / 0.7852 GB, free: 2.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.5803, allocations: 0.7984 MB / 0.786 GB, free: 2.035 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.5817, allocations: 1.287 MB / 0.7872 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002451/0.5841, allocations: 2.144 MB / 0.7893 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.5842, allocations: 4 kB / 0.7893 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002897/0.5871, allocations: 2.172 MB / 0.7915 GB, free: 12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.5871, allocations: 8 kB / 0.7915 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.5871, allocations: 16 kB / 0.7915 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.5872, allocations: 20 kB / 0.7915 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.5886, allocations: 407.2 kB / 0.7919 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.897e-05/0.5887, allocations: 31.92 kB / 0.7919 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.5897, allocations: 199.5 kB / 0.7921 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.5898, allocations: 64.12 kB / 0.7922 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002295/0.5921, allocations: 1.658 MB / 0.7938 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001144/0.5933, allocations: 1.17 MB / 0.7949 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002019/0.5953, allocations: 1.87 MB / 0.7968 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.217e-06/0.5953, allocations: 11.94 kB / 0.7968 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002511/0.5978, allocations: 1.882 MB / 0.7986 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.5979, allocations: 14.34 kB / 0.7986 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.5979, allocations: 20.86 kB / 0.7986 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.5979, allocations: 24 kB / 0.7987 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.5991, allocations: 359.4 kB / 0.799 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-05/0.5991, allocations: 31.86 kB / 0.799 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009502/0.6, allocations: 163.4 kB / 0.7992 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.561e-05/0.6001, allocations: 56 kB / 0.7992 GB, free: 3.57 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.0003043/0.6004, allocations: 267.8 kB / 0.7995 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.6007, allocations: 110.7 kB / 0.7996 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.6032, allocations: 1.835 MB / 0.8014 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.6032, allocations: 12 kB / 0.8014 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6032, allocations: 4 kB / 0.8014 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.6032, allocations: 3.984 kB / 0.8014 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.6147, allocations: 9.573 MB / 0.8108 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.6148, allocations: 12 kB / 0.8108 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.6159, allocations: 315.6 kB / 0.8111 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-05/0.616, allocations: 16.19 kB / 0.8111 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.691e-05/0.616, allocations: 27.98 kB / 0.8111 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.939e-05/0.6161, allocations: 31.75 kB / 0.8112 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/0.6161, allocations: 15.94 kB / 0.8112 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.6188, allocations: 2.406 MB / 0.8135 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007418/0.6195, allocations: 371.6 kB / 0.8139 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.6197, allocations: 28 kB / 0.8139 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008587/0.6205, allocations: 143.7 kB / 0.814 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.6207, allocations: 91.67 kB / 0.8141 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.206e-05/0.6208, allocations: 36 kB / 0.8142 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006639/0.6215, allocations: 0.5888 MB / 0.8147 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6215, allocations: 0 / 0.8147 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002511/0.624, allocations: 0.75 MB / 0.8155 GB, free: 2.512 MB / 0.5762 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.0002221/0.6242, allocations: 150.9 kB / 0.8156 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003771/0.628, allocations: 2.857 MB / 0.8184 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.628, allocations: 1.75 kB / 0.8184 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.6292, allocations: 0.9118 MB / 0.8193 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.6307, allocations: 317.2 kB / 0.8196 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007149/0.6379, allocations: 4.984 MB / 0.8245 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/0.6398, allocations: 2.131 MB / 0.8265 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001647/0.6414, allocations: 0.7266 MB / 0.8272 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.6418, allocations: 87.42 kB / 0.8273 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.6418, allocations: 0 / 0.8273 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of Templates: time 0.02661/0.6684, allocations: 17.37 MB / 0.8443 GB, free: 4.973 MB / 0.6075 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)