Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001224/0.001224, allocations: 102.9 kB / 16.94 MB, free: 5.777 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.00112/0.001121, allocations: 191.3 kB / 17.87 MB, free: 5.16 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.345/1.345, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7517/0.7517, allocations: 122.9 MB / 414.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 63.91 kB / 0.4917 GB, free: 7.465 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3911, allocations: 77.92 MB / 0.5678 GB, free: 33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0244/0.4155, allocations: 20.41 MB / 0.5878 GB, free: 19.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01472/0.4303, allocations: 7.688 MB / 0.5953 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003075/0.4334, allocations: 62.59 kB / 0.5953 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003866/0.4374, allocations: 1.352 MB / 0.5967 GB, free: 12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003658/0.4411, allocations: 0.9976 MB / 0.5976 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005645/0.4467, allocations: 2.004 MB / 0.5996 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005326/0.4521, allocations: 4.326 MB / 0.6038 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00645/0.4586, allocations: 6.254 MB / 0.6099 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.4616, allocations: 1.835 MB / 0.6117 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.4648, allocations: 2.201 MB / 0.6139 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006764/0.4655, allocations: 428 kB / 0.6143 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.4674, allocations: 0.948 MB / 0.6152 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.469, allocations: 1.657 MB / 0.6168 GB, free: 8.742 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001927/0.4709, allocations: 1.708 MB / 0.6185 GB, free: 7.027 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005944/0.4768, allocations: 6.143 MB / 0.6245 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.4769, allocations: 4 kB / 0.6245 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4769, allocations: 0 / 0.6245 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001417/0.477, allocations: 0 / 0.6245 GB, free: 0.8633 MB / 462.1 MB 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.006868/0.4839, allocations: 3.044 MB / 0.6275 GB, free: 13.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.484, allocations: 8.625 kB / 0.6275 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00356/0.4875, allocations: 0.7468 MB / 0.6282 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002974/0.4905, allocations: 1.544 MB / 0.6297 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.4907, allocations: 218.2 kB / 0.6299 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006318/0.4914, allocations: 292.2 kB / 0.6302 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.5017, allocations: 5.082 MB / 0.6352 GB, free: 5.645 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.928e-05/0.5018, allocations: 7.938 kB / 0.6352 GB, free: 5.637 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003041/0.5021, allocations: 128 kB / 0.6353 GB, free: 5.512 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002349/0.5023, allocations: 208.6 kB / 0.6355 GB, free: 5.305 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006932/0.5093, allocations: 4.22 MB / 0.6396 GB, free: 1.066 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02317/0.5325, allocations: 23.07 MB / 0.6621 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/0.5352, allocations: 1.739 MB / 0.6638 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.5367, allocations: 1.136 MB / 0.6649 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.5369, allocations: 101.7 kB / 0.665 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.537, allocations: 51.16 kB / 0.6651 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 3.286e-06/0.537, allocations: 0 / 0.6651 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=87): time 0.005829/0.5428, allocations: 4.004 MB / 0.669 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.5429, allocations: 137.2 kB / 0.6691 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.5441, allocations: 0.8724 MB / 0.67 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.46e-05/0.5442, allocations: 41.64 kB / 0.67 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007478/0.5449, allocations: 1.158 MB / 0.6712 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.5452, allocations: 311.6 kB / 0.6715 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004305/0.5457, allocations: 278.5 kB / 0.6717 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.5459, allocations: 406.7 kB / 0.6721 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.5471, allocations: 0.8296 MB / 0.6729 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.5487, allocations: 1.306 MB / 0.6742 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002753/0.5515, allocations: 2.167 MB / 0.6763 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.5515, allocations: 4 kB / 0.6763 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003417/0.5549, allocations: 2.211 MB / 0.6785 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.555, allocations: 18.59 kB / 0.6785 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.555, allocations: 12 kB / 0.6785 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.906e-05/0.555, allocations: 20 kB / 0.6785 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.5566, allocations: 415.3 kB / 0.6789 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.24e-05/0.5567, allocations: 35.8 kB / 0.6789 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.5581, allocations: 211.3 kB / 0.6792 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.5583, allocations: 67.97 kB / 0.6792 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003187/0.5615, allocations: 1.673 MB / 0.6808 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001514/0.563, allocations: 1.194 MB / 0.682 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002441/0.5654, allocations: 1.898 MB / 0.6839 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.436e-06/0.5655, allocations: 7.938 kB / 0.6839 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002991/0.5685, allocations: 1.933 MB / 0.6858 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.5685, allocations: 12 kB / 0.6858 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.5685, allocations: 16 kB / 0.6858 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.5685, allocations: 20 kB / 0.6858 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.5699, allocations: 367.8 kB / 0.6862 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.689e-05/0.5699, allocations: 31.88 kB / 0.6862 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.5712, allocations: 175.3 kB / 0.6864 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.456e-05/0.5713, allocations: 60 kB / 0.6864 GB, free: 13.92 MB / 0.5294 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.000401/0.5717, allocations: 271.8 kB / 0.6867 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.5719, allocations: 102.8 kB / 0.6868 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002798/0.5747, allocations: 1.858 MB / 0.6886 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.5748, allocations: 8 kB / 0.6886 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.5748, allocations: 0 / 0.6886 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.5748, allocations: 7.984 kB / 0.6886 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/0.5885, allocations: 9.592 MB / 0.698 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.13e-05/0.5886, allocations: 12 kB / 0.698 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.5899, allocations: 311.4 kB / 0.6983 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.112e-05/0.59, allocations: 16 kB / 0.6983 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.5901, allocations: 28.53 kB / 0.6983 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.259e-05/0.5901, allocations: 32.05 kB / 0.6984 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.5901, allocations: 15.94 kB / 0.6984 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/0.5932, allocations: 2.398 MB / 0.7007 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007292/0.5939, allocations: 379.6 kB / 0.7011 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000274/0.5942, allocations: 31.98 kB / 0.7011 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.5954, allocations: 143.7 kB / 0.7012 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.5956, allocations: 91.45 kB / 0.7013 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.038e-05/0.5957, allocations: 36 kB / 0.7014 GB, free: 14.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001085/0.5968, allocations: 0.6161 MB / 0.702 GB, free: 13.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.826e-06/0.5968, allocations: 0 / 0.702 GB, free: 13.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003101/0.5999, allocations: 0.7578 MB / 0.7027 GB, free: 12.79 MB / 0.545 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.0002911/0.6002, allocations: 150.9 kB / 0.7028 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004894/0.6051, allocations: 3.042 MB / 0.7058 GB, free: 9.594 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/0.6051, allocations: 4 kB / 0.7058 GB, free: 9.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.6064, allocations: 0.9081 MB / 0.7067 GB, free: 8.684 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/0.6085, allocations: 304.8 kB / 0.707 GB, free: 8.402 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.6189, allocations: 5.505 MB / 0.7124 GB, free: 2.703 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003067/0.622, allocations: 2.187 MB / 0.7145 GB, free: 492 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000678/0.6227, allocations: 95.41 kB / 0.7146 GB, free: 396 kB / 0.545 GB Notification: Performance of SimCode: time 1.363e-06/0.6227, allocations: 0 / 0.7146 GB, free: 396 kB / 0.545 GB Notification: Performance of Templates: time 0.04579/0.6685, allocations: 28.07 MB / 0.742 GB, free: 4.457 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)