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.001015/0.001016, allocations: 104.8 kB / 16.37 MB, free: 6.469 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.000966/0.000966, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 280.7 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9184/0.9184, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 95.17 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1469, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.2829/0.4298, allocations: 37.25 MB / 0.718 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02245/0.4523, allocations: 13.55 MB / 0.7312 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00391/0.4563, allocations: 114.4 kB / 0.7313 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005736/0.462, allocations: 2.279 MB / 0.7336 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003902/0.4659, allocations: 1.408 MB / 0.7349 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008887/0.4748, allocations: 3.511 MB / 0.7384 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007553/0.4824, allocations: 6.391 MB / 0.7446 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0103/0.4927, allocations: 9.883 MB / 0.7543 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004027/0.4968, allocations: 2.739 MB / 0.7569 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004291/0.5011, allocations: 3.198 MB / 0.76 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008755/0.502, allocations: 0.6211 MB / 0.7607 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.5043, allocations: 1.229 MB / 0.7619 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002264/0.5066, allocations: 2.48 MB / 0.7643 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002686/0.5093, allocations: 2.549 MB / 0.7668 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0072/0.5165, allocations: 9.142 MB / 0.7757 GB, free: 14.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5165, allocations: 0 / 0.7757 GB, free: 14.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5165, allocations: 0 / 0.7757 GB, free: 14.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001319/0.5166, allocations: 0 / 0.7757 GB, free: 14.98 MB / 0.545 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.007103/0.5238, allocations: 4.306 MB / 0.7799 GB, free: 10.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.5238, allocations: 8.031 kB / 0.7799 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003652/0.5275, allocations: 0.9404 MB / 0.7808 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004662/0.5321, allocations: 2.226 MB / 0.783 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.5323, allocations: 325 kB / 0.7833 GB, free: 7.059 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006181/0.533, allocations: 428.3 kB / 0.7837 GB, free: 6.641 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.543, allocations: 7.366 MB / 0.7909 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.13e-05/0.5431, allocations: 11.84 kB / 0.7909 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004175/0.5436, allocations: 184 kB / 0.7911 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002778/0.5438, allocations: 286.9 kB / 0.7914 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00856/0.5524, allocations: 5.963 MB / 0.7972 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03052/0.583, allocations: 32.36 MB / 0.8288 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/0.5859, allocations: 2.111 MB / 0.8309 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.5874, allocations: 1.233 MB / 0.8321 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.5875, allocations: 110.1 kB / 0.8322 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.5876, allocations: 55.44 kB / 0.8322 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=98): time 2.795e-06/0.5876, allocations: 0 / 0.8322 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of matching and sorting (n=101): time 0.006436/0.594, allocations: 5.223 MB / 0.8373 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.5941, allocations: 149.5 kB / 0.8375 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.5957, allocations: 1.453 MB / 0.8389 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-05/0.5958, allocations: 45.64 kB / 0.8389 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009657/0.5968, allocations: 1.863 MB / 0.8407 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.5971, allocations: 371 kB / 0.8411 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006132/0.5977, allocations: 463 kB / 0.8415 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.5978, allocations: 305.1 kB / 0.8418 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.5992, allocations: 1.118 MB / 0.8429 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/0.6014, allocations: 2.184 MB / 0.8451 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003612/0.605, allocations: 3.395 MB / 0.8484 GB, free: 120 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.605, allocations: 12 kB / 0.8484 GB, free: 108 kB / 0.6075 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004425/0.6094, allocations: 3.312 MB / 0.8516 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.6095, allocations: 22.5 kB / 0.8516 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/0.6095, allocations: 36 kB / 0.8517 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.932e-05/0.6096, allocations: 44.81 kB / 0.8517 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.6116, allocations: 0.6277 MB / 0.8523 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.067e-05/0.6117, allocations: 67.78 kB / 0.8524 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.6132, allocations: 318.7 kB / 0.8527 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.6134, allocations: 112 kB / 0.8528 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003131/0.6166, allocations: 2.405 MB / 0.8551 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001849/0.6184, allocations: 2.011 MB / 0.8571 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003043/0.6215, allocations: 3.029 MB / 0.8601 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-05/0.6215, allocations: 12 kB / 0.8601 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.003873/0.6254, allocations: 2.922 MB / 0.8629 GB, free: 144 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.6254, allocations: 20.19 kB / 0.863 GB, free: 124 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.6254, allocations: 43.98 kB / 0.863 GB, free: 80 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.671e-05/0.6255, allocations: 51.83 kB / 0.863 GB, free: 32 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.6271, allocations: 0.5498 MB / 0.8636 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-05/0.6272, allocations: 75.66 kB / 0.8637 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.6287, allocations: 243 kB / 0.8639 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.6288, allocations: 112 kB / 0.864 GB, free: 15.06 MB / 0.6387 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.0003908/0.6292, allocations: 339.3 kB / 0.8643 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.6295, allocations: 154.1 kB / 0.8645 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002991/0.6325, allocations: 2.219 MB / 0.8666 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.6325, allocations: 15.94 kB / 0.8666 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6325, allocations: 0 / 0.8666 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.6325, allocations: 7.984 kB / 0.8667 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/0.6464, allocations: 10.97 MB / 0.8774 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.6464, allocations: 16.06 kB / 0.8774 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.6478, allocations: 387.3 kB / 0.8778 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.657e-05/0.6478, allocations: 16 kB / 0.8778 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.451e-05/0.6479, allocations: 28.59 kB / 0.8778 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.782e-05/0.6479, allocations: 27.86 kB / 0.8778 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.809e-06/0.648, allocations: 19.94 kB / 0.8778 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003103/0.6511, allocations: 2.763 MB / 0.8805 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009231/0.652, allocations: 446.9 kB / 0.881 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.6522, allocations: 43.92 kB / 0.881 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.6533, allocations: 163.7 kB / 0.8812 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.6535, allocations: 92.22 kB / 0.8813 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-05/0.6535, allocations: 44 kB / 0.8813 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001159/0.6547, allocations: 0.9742 MB / 0.8822 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6547, allocations: 0 / 0.8822 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003257/0.658, allocations: 1.125 MB / 0.8833 GB, free: 10.8 MB / 0.6544 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.0002101/0.6582, allocations: 150.9 kB / 0.8835 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005074/0.6633, allocations: 4.016 MB / 0.8874 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.6633, allocations: 0 / 0.8874 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.6646, allocations: 1.056 MB / 0.8884 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.6666, allocations: 464.6 kB / 0.8889 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009743/0.6764, allocations: 6.993 MB / 0.8957 GB, free: 13.99 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/0.6791, allocations: 2.872 MB / 0.8985 GB, free: 11.09 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00244/0.6815, allocations: 1.204 MB / 0.8997 GB, free: 9.875 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004511/0.682, allocations: 119.4 kB / 0.8998 GB, free: 9.758 MB / 0.67 GB Notification: Performance of SimCode: time 4.51e-07/0.682, allocations: 0 / 0.8998 GB, free: 9.758 MB / 0.67 GB Notification: Performance of Templates: time 0.03699/0.719, allocations: 24.55 MB / 0.9238 GB, free: 1.441 MB / 0.6856 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)