Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 106.2 kB / 16.52 MB, free: 6.656 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.00134/0.00134, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.326/1.326, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.702/0.702, allocations: 115.3 MB / 406.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 59.91 kB / 493.6 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3421, allocations: 76.16 MB / 0.5564 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01622/0.3584, allocations: 16.31 MB / 0.5723 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008167/0.3666, allocations: 5.737 MB / 0.5779 GB, free: 21.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.3678, allocations: 39.81 kB / 0.5779 GB, free: 21.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003246/0.3711, allocations: 1.447 MB / 0.5794 GB, free: 20.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.3732, allocations: 0.7789 MB / 0.5801 GB, free: 20.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.3758, allocations: 0.9578 MB / 0.5811 GB, free: 19.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00628/0.3821, allocations: 6.037 MB / 0.587 GB, free: 18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008229/0.3903, allocations: 6.336 MB / 0.5931 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.3926, allocations: 1.453 MB / 0.5946 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002547/0.3952, allocations: 2.15 MB / 0.5967 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005108/0.3957, allocations: 296 kB / 0.5969 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.3976, allocations: 1.096 MB / 0.598 GB, free: 9.996 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.3988, allocations: 1.548 MB / 0.5995 GB, free: 8.445 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.4002, allocations: 1.459 MB / 0.6009 GB, free: 6.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003344/0.4036, allocations: 5.227 MB / 0.6061 GB, free: 1.742 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4036, allocations: 0 / 0.6061 GB, free: 1.742 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4036, allocations: 0 / 0.6061 GB, free: 1.742 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.547e-05/0.4037, allocations: 0 / 0.6061 GB, free: 1.742 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.004849/0.4086, allocations: 2.771 MB / 0.6088 GB, free: 14.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.4086, allocations: 12.03 kB / 0.6088 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003176/0.4118, allocations: 0.6574 MB / 0.6094 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/0.4142, allocations: 1.427 MB / 0.6108 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.4144, allocations: 214 kB / 0.611 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004398/0.4148, allocations: 264.4 kB / 0.6113 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007826/0.4226, allocations: 4.727 MB / 0.6159 GB, free: 7.484 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.492e-05/0.4227, allocations: 0 / 0.6159 GB, free: 7.484 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002934/0.423, allocations: 116 kB / 0.616 GB, free: 7.371 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/0.4232, allocations: 148.6 kB / 0.6161 GB, free: 7.223 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006361/0.4295, allocations: 4.085 MB / 0.6201 GB, free: 3.121 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02327/0.4528, allocations: 20.29 MB / 0.6399 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003153/0.456, allocations: 1.89 MB / 0.6418 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.4571, allocations: 0.7548 MB / 0.6425 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.4573, allocations: 109.7 kB / 0.6426 GB, free: 9.922 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.4574, allocations: 51.14 kB / 0.6427 GB, free: 9.863 MB / 494.1 MB Notification: Performance of pre-optimization done (n=77): time 3.206e-06/0.4574, allocations: 0 / 0.6427 GB, free: 9.863 MB / 494.1 MB Notification: Performance of matching and sorting (n=92): time 0.01796/0.4753, allocations: 5.189 MB / 0.6477 GB, free: 4.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.133e-05/0.4755, allocations: 141.5 kB / 0.6479 GB, free: 4.488 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.4767, allocations: 0.9723 MB / 0.6488 GB, free: 3.504 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.88e-05/0.4768, allocations: 41.7 kB / 0.6489 GB, free: 3.457 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006835/0.4775, allocations: 1.184 MB / 0.65 GB, free: 2.254 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003259/0.4779, allocations: 331.4 kB / 0.6503 GB, free: 1.926 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005465/0.4784, allocations: 359.2 kB / 0.6507 GB, free: 1.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4786, allocations: 330 kB / 0.651 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.4798, allocations: 0.8753 MB / 0.6518 GB, free: 372 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.4815, allocations: 1.51 MB / 0.6533 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/0.4844, allocations: 2.453 MB / 0.6557 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.157e-05/0.4845, allocations: 8 kB / 0.6557 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003814/0.4883, allocations: 2.508 MB / 0.6582 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.4884, allocations: 13.75 kB / 0.6582 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/0.4884, allocations: 28 kB / 0.6582 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.723e-05/0.4884, allocations: 32 kB / 0.6582 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002344/0.4908, allocations: 0.5108 MB / 0.6587 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-05/0.4909, allocations: 47.84 kB / 0.6588 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.492, allocations: 159.5 kB / 0.6589 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.4922, allocations: 83.98 kB / 0.659 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002645/0.4948, allocations: 1.901 MB / 0.6609 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001605/0.4965, allocations: 1.503 MB / 0.6623 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002927/0.4994, allocations: 2.422 MB / 0.6647 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.65e-05/0.4994, allocations: 8 kB / 0.6647 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.00391/0.5033, allocations: 2.492 MB / 0.6672 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.5034, allocations: 15.94 kB / 0.6672 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.5034, allocations: 24 kB / 0.6672 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.574e-05/0.5034, allocations: 32 kB / 0.6672 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/0.5057, allocations: 0.5187 MB / 0.6677 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.134e-05/0.5058, allocations: 43.84 kB / 0.6678 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.5069, allocations: 147.8 kB / 0.6679 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.5071, allocations: 87.98 kB / 0.668 GB, free: 14.64 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * 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.0004002/0.5075, allocations: 292.2 kB / 0.6683 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.5077, allocations: 94.88 kB / 0.6684 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/0.5107, allocations: 1.829 MB / 0.6702 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.5107, allocations: 8 kB / 0.6702 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.5107, allocations: 8 kB / 0.6702 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.5107, allocations: 3.984 kB / 0.6702 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.5222, allocations: 9.053 MB / 0.679 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.422e-05/0.5222, allocations: 12 kB / 0.679 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.5233, allocations: 247.6 kB / 0.6793 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.008e-05/0.5234, allocations: 16 kB / 0.6793 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-05/0.5235, allocations: 28 kB / 0.6793 GB, free: 2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.808e-05/0.5235, allocations: 27.86 kB / 0.6793 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/0.5235, allocations: 20.28 kB / 0.6793 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.5257, allocations: 1.774 MB / 0.6811 GB, free: 36 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005836/0.5263, allocations: 284 kB / 0.6814 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/0.5266, allocations: 31.98 kB / 0.6814 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007749/0.5273, allocations: 71.91 kB / 0.6814 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.5275, allocations: 91.61 kB / 0.6815 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.849e-05/0.5276, allocations: 43.98 kB / 0.6816 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00106/0.5286, allocations: 0.7215 MB / 0.6823 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5287, allocations: 7.938 kB / 0.6823 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00305/0.5317, allocations: 0.8086 MB / 0.6831 GB, free: 13.97 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * 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.0003353/0.5321, allocations: 166.9 kB / 0.6832 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004405/0.5365, allocations: 2.979 MB / 0.6861 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.5365, allocations: 0 / 0.6861 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007888/0.5373, allocations: 0.5721 MB / 0.6867 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.5388, allocations: 163.4 kB / 0.6869 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009597/0.5484, allocations: 6.015 MB / 0.6927 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002622/0.551, allocations: 2.18 MB / 0.6949 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006126/0.5517, allocations: 103.4 kB / 0.695 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of SimCode: time 6.72e-07/0.5517, allocations: 0 / 0.695 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of Templates: time 0.04064/0.5923, allocations: 26.89 MB / 0.7212 GB, free: 6.754 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)