Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006471/0.006471, allocations: 100.9 kB / 15.73 MB, free: 6.027 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.001483/0.001483, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 286.5 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9292/0.9292, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 99.83 kB / 0.6815 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1548, allocations: 86.98 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.372/0.5268, allocations: 37.25 MB / 0.8028 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02304/0.5498, allocations: 13.53 MB / 0.816 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003915/0.5538, allocations: 118.4 kB / 0.8161 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005893/0.5597, allocations: 2.276 MB / 0.8183 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004526/0.5643, allocations: 1.433 MB / 0.8197 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009576/0.5739, allocations: 3.514 MB / 0.8232 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007821/0.5817, allocations: 6.401 MB / 0.8294 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01084/0.5926, allocations: 9.893 MB / 0.8391 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004099/0.5967, allocations: 2.765 MB / 0.8418 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004486/0.6012, allocations: 3.196 MB / 0.8449 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001619/0.6028, allocations: 0.6207 MB / 0.8455 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003097/0.606, allocations: 1.224 MB / 0.8467 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003033/0.609, allocations: 2.483 MB / 0.8491 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003179/0.6122, allocations: 2.545 MB / 0.8516 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008674/0.6209, allocations: 9.146 MB / 0.8605 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.6209, allocations: 4 kB / 0.8605 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.555e-06/0.6209, allocations: 0 / 0.8605 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002194/0.6212, allocations: 0 / 0.8605 GB, free: 3.238 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.009123/0.6303, allocations: 4.299 MB / 0.8647 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.6304, allocations: 8.031 kB / 0.8647 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003828/0.6342, allocations: 0.9442 MB / 0.8657 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003423/0.6376, allocations: 2.226 MB / 0.8678 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.6379, allocations: 325 kB / 0.8681 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006557/0.6385, allocations: 428.2 kB / 0.8686 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/0.6507, allocations: 7.366 MB / 0.8757 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.6508, allocations: 15.88 kB / 0.8758 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005054/0.6514, allocations: 180 kB / 0.8759 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003123/0.6517, allocations: 290.9 kB / 0.8762 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009685/0.6614, allocations: 5.956 MB / 0.882 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03498/0.6964, allocations: 32.37 MB / 0.9136 GB, free: 9.637 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003181/0.6996, allocations: 2.122 MB / 0.9157 GB, free: 7.48 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.7012, allocations: 1.224 MB / 0.9169 GB, free: 6.246 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.7013, allocations: 106.1 kB / 0.917 GB, free: 6.121 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.7014, allocations: 43.56 kB / 0.917 GB, free: 6.07 MB / 0.67 GB Notification: Performance of pre-optimization done (n=98): time 4.479e-06/0.7014, allocations: 4 kB / 0.9171 GB, free: 6.066 MB / 0.67 GB Notification: Performance of matching and sorting (n=101): time 0.008233/0.7096, allocations: 5.227 MB / 0.9222 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.7097, allocations: 149.4 kB / 0.9223 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.7117, allocations: 1.456 MB / 0.9237 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.7119, allocations: 41.7 kB / 0.9238 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.713, allocations: 1.863 MB / 0.9256 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/0.7133, allocations: 382.9 kB / 0.9259 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006557/0.714, allocations: 455 kB / 0.9264 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.7141, allocations: 301.1 kB / 0.9267 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.7157, allocations: 1.118 MB / 0.9278 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.7179, allocations: 2.188 MB / 0.9299 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00381/0.7217, allocations: 3.395 MB / 0.9332 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.209e-05/0.7218, allocations: 8 kB / 0.9332 GB, free: 4.371 MB / 0.6856 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005027/0.7268, allocations: 3.316 MB / 0.9365 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.7269, allocations: 20 kB / 0.9365 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-05/0.7269, allocations: 32 kB / 0.9365 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.378e-05/0.727, allocations: 48 kB / 0.9366 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/0.7291, allocations: 0.6199 MB / 0.9372 GB, free: 332 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-05/0.7292, allocations: 71.72 kB / 0.9372 GB, free: 260 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.731, allocations: 311.1 kB / 0.9375 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/0.7312, allocations: 112 kB / 0.9376 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003447/0.7347, allocations: 2.405 MB / 0.94 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001978/0.7367, allocations: 2.015 MB / 0.9419 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003313/0.74, allocations: 3.025 MB / 0.9449 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.719e-05/0.74, allocations: 12 kB / 0.9449 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004241/0.7443, allocations: 2.929 MB / 0.9478 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.7443, allocations: 22.34 kB / 0.9478 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.231e-05/0.7444, allocations: 32 kB / 0.9478 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.591e-05/0.7444, allocations: 51.94 kB / 0.9479 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.7461, allocations: 0.5542 MB / 0.9484 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.976e-05/0.7462, allocations: 75.66 kB / 0.9485 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.7479, allocations: 243 kB / 0.9487 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.7481, allocations: 116 kB / 0.9488 GB, free: 3.324 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0004621/0.7485, allocations: 339.9 kB / 0.9492 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003445/0.7489, allocations: 154.1 kB / 0.9493 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003306/0.7522, allocations: 2.23 MB / 0.9515 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.7522, allocations: 19.94 kB / 0.9515 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.7522, allocations: 0 / 0.9515 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.7523, allocations: 3.984 kB / 0.9515 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/0.7676, allocations: 10.97 MB / 0.9622 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.877e-05/0.7677, allocations: 12.25 kB / 0.9622 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/0.7691, allocations: 387.3 kB / 0.9626 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.332e-05/0.7692, allocations: 19.98 kB / 0.9626 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.8e-05/0.7693, allocations: 32 kB / 0.9626 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.92e-05/0.7693, allocations: 19.94 kB / 0.9627 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-05/0.7693, allocations: 19.88 kB / 0.9627 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003101/0.7724, allocations: 2.759 MB / 0.9654 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006943/0.7731, allocations: 450.8 kB / 0.9658 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/0.7734, allocations: 44.09 kB / 0.9658 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.7745, allocations: 163.7 kB / 0.966 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.7747, allocations: 100.2 kB / 0.9661 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-05/0.7749, allocations: 47.98 kB / 0.9661 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001267/0.7761, allocations: 0.9781 MB / 0.9671 GB, free: 164 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7761, allocations: 0 / 0.9671 GB, free: 164 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003813/0.78, allocations: 1.125 MB / 0.9682 GB, free: 15.03 MB / 0.7325 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 (104): * Single equations (assignments): 104 * 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.00027/0.7802, allocations: 146.9 kB / 0.9683 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005727/0.786, allocations: 4.012 MB / 0.9723 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/0.786, allocations: 4 kB / 0.9723 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.7874, allocations: 1.056 MB / 0.9733 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/0.7898, allocations: 454.3 kB / 0.9737 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.8017, allocations: 6.993 MB / 0.9806 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003393/0.8051, allocations: 2.864 MB / 0.9833 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002695/0.8078, allocations: 1.207 MB / 0.9845 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/0.8083, allocations: 127.3 kB / 0.9846 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of SimCode: time 9.81e-07/0.8083, allocations: 0 / 0.9846 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of Templates: time 0.04027/0.8486, allocations: 25.19 MB / 1.009 GB, free: 5.047 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)