Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 110.2 kB / 17.75 MB, free: 5.348 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.001061/0.001061, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.336/1.336, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1744/0.1744, allocations: 38.03 MB / 330.6 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 71.88 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2989, allocations: 58.05 MB / 0.5048 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005185/0.3041, allocations: 3.91 MB / 0.5086 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.3055, allocations: 0.8735 MB / 0.5094 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.3058, allocations: 10.59 kB / 0.5094 GB, free: 4.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.306, allocations: 40.39 kB / 0.5095 GB, free: 4.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006341/0.3067, allocations: 174.5 kB / 0.5097 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.307, allocations: 84.36 kB / 0.5097 GB, free: 4.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005443/0.3076, allocations: 379.6 kB / 0.5101 GB, free: 4.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.3078, allocations: 85.84 kB / 0.5102 GB, free: 4.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/0.3081, allocations: 166.7 kB / 0.5103 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.3085, allocations: 173.5 kB / 0.5105 GB, free: 3.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.3086, allocations: 17.25 kB / 0.5105 GB, free: 3.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-05/0.3087, allocations: 17.28 kB / 0.5105 GB, free: 3.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3088, allocations: 74.58 kB / 0.5106 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.3089, allocations: 131 kB / 0.5107 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.3093, allocations: 262 kB / 0.511 GB, free: 3.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3093, allocations: 0 / 0.511 GB, free: 3.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.3093, allocations: 1.156 kB / 0.511 GB, free: 3.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.3093, allocations: 0 / 0.511 GB, free: 3.758 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008747/0.3102, allocations: 0.5643 MB / 0.5115 GB, free: 3.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3103, allocations: 12.92 kB / 0.5115 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.841e-05/0.3104, allocations: 31.17 kB / 0.5116 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.3108, allocations: 332.5 kB / 0.5119 GB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.3109, allocations: 16.03 kB / 0.5119 GB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.3109, allocations: 21.5 kB / 0.5119 GB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.3113, allocations: 274.8 kB / 0.5122 GB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3113, allocations: 0 / 0.5122 GB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.3114, allocations: 7.219 kB / 0.5122 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3114, allocations: 6.031 kB / 0.5122 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.3117, allocations: 164.4 kB / 0.5124 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.3128, allocations: 1.175 MB / 0.5135 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.313, allocations: 75.02 kB / 0.5136 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.313, allocations: 27.3 kB / 0.5136 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.313, allocations: 9.344 kB / 0.5136 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.3131, allocations: 37.38 kB / 0.5136 GB, free: 1.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3131, allocations: 0 / 0.5136 GB, free: 1.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006731/0.3137, allocations: 414.9 kB / 0.514 GB, free: 1.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.3138, allocations: 79.62 kB / 0.5141 GB, free: 1.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.314, allocations: 247.5 kB / 0.5144 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.314, allocations: 26.77 kB / 0.5144 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.3141, allocations: 195.9 kB / 0.5146 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.3142, allocations: 27.45 kB / 0.5146 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.3142, allocations: 49.48 kB / 0.5146 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.3143, allocations: 335.3 kB / 0.515 GB, free: 412 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/0.3143, allocations: 26.09 kB / 0.515 GB, free: 404 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-05/0.3144, allocations: 118.2 kB / 0.5151 GB, free: 268 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.3146, allocations: 165.1 kB / 0.5153 GB, free: 100 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3146, allocations: 1.094 kB / 0.5153 GB, free: 100 kB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002788/0.3149, allocations: 186.1 kB / 0.5154 GB, free: 16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3149, allocations: 8.594 kB / 0.5154 GB, free: 16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.3149, allocations: 2.688 kB / 0.5154 GB, free: 16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.3149, allocations: 9.188 kB / 0.5155 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.3151, allocations: 43.38 kB / 0.5155 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.3151, allocations: 9.469 kB / 0.5155 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.3152, allocations: 4.812 kB / 0.5155 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.3152, allocations: 17.67 kB / 0.5155 GB, free: 15.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.000141/0.3154, allocations: 153.9 kB / 0.5157 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.3154, allocations: 22.48 kB / 0.5157 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.3156, allocations: 99.22 kB / 0.5158 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3156, allocations: 0.8906 kB / 0.5158 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.3156, allocations: 7.109 kB / 0.5158 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.3157, allocations: 94.89 kB / 0.5159 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.3158, allocations: 2.578 kB / 0.5159 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/0.3158, allocations: 4 kB / 0.5159 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.3159, allocations: 9.703 kB / 0.5159 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002459/0.3161, allocations: 244.3 kB / 0.5161 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002729/0.3164, allocations: 368.9 kB / 0.5165 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.816e-05/0.3165, allocations: 28.31 kB / 0.5165 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.3166, allocations: 174.8 kB / 0.5167 GB, free: 15 MB / 398.1 MB Notification: Performance of Backend: time 3.2e-07/0.3166, allocations: 0 / 0.5167 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005005/0.3172, allocations: 141.7 kB / 0.5168 GB, free: 14.91 MB / 398.1 MB Notification: Performance of SimCode: time 0.001167/0.3183, allocations: 0.9908 MB / 0.5178 GB, free: 14.11 MB / 398.1 MB Notification: Performance of Templates: time 0.006022/0.3244, allocations: 1.914 MB / 0.5197 GB, free: 13.93 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1)