Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009628/0.0009629, allocations: 109.2 kB / 17.74 MB, free: 5.332 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.001034/0.001034, allocations: 188.3 kB / 18.68 MB, free: 4.406 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.36/1.36, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.181/0.181, allocations: 38.02 MB / 330.6 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.89 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.288, allocations: 58.06 MB / 0.5048 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.005672/0.2938, allocations: 5.511 MB / 0.5101 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.2957, allocations: 1.361 MB / 0.5115 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.296, allocations: 18.94 kB / 0.5115 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.2965, allocations: 132.5 kB / 0.5116 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007858/0.2973, allocations: 388.6 kB / 0.512 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.2976, allocations: 152.5 kB / 0.5121 GB, free: 2.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000712/0.2983, allocations: 0.7855 MB / 0.5129 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003099/0.2986, allocations: 223.2 kB / 0.5131 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004371/0.2991, allocations: 345.9 kB / 0.5134 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005715/0.2997, allocations: 408.5 kB / 0.5138 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.924e-05/0.2998, allocations: 39.59 kB / 0.5139 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.2999, allocations: 40.41 kB / 0.5139 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.3001, allocations: 201.9 kB / 0.5141 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.3004, allocations: 273.2 kB / 0.5144 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006757/0.3011, allocations: 0.5814 MB / 0.5149 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3011, allocations: 1.344 kB / 0.5149 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3011, allocations: 4 kB / 0.5149 GB, free: 1.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.3011, allocations: 0 / 0.5149 GB, free: 1.5 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00144/0.3025, allocations: 0.8865 MB / 0.5158 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3026, allocations: 21.33 kB / 0.5158 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.3027, allocations: 61.72 kB / 0.5159 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007748/0.3035, allocations: 0.5058 MB / 0.5164 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.3035, allocations: 38.22 kB / 0.5164 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.3036, allocations: 39.56 kB / 0.5165 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008133/0.3044, allocations: 0.5379 MB / 0.517 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.3044, allocations: 0.5312 kB / 0.517 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-05/0.3045, allocations: 17.81 kB / 0.517 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-05/0.3045, allocations: 23.09 kB / 0.517 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007232/0.3053, allocations: 394.7 kB / 0.5174 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.3078, allocations: 1.915 MB / 0.5193 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000572/0.3084, allocations: 344.8 kB / 0.5196 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.3087, allocations: 176.4 kB / 0.5198 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.3088, allocations: 11.17 kB / 0.5198 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003804/0.3092, allocations: 289.1 kB / 0.52 GB, free: 14.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.823e-06/0.3092, allocations: 0 / 0.52 GB, free: 14.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.001757/0.311, allocations: 1.172 MB / 0.5212 GB, free: 13.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/0.311, allocations: 168.9 kB / 0.5214 GB, free: 13.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.3114, allocations: 392.4 kB / 0.5217 GB, free: 13.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.3115, allocations: 31.89 kB / 0.5218 GB, free: 13.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.3117, allocations: 299.2 kB / 0.522 GB, free: 12.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.3118, allocations: 112.9 kB / 0.5221 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.3119, allocations: 96.11 kB / 0.5222 GB, free: 12.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3121, allocations: 357 kB / 0.5226 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.3123, allocations: 125.8 kB / 0.5227 GB, free: 12.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.3126, allocations: 291.5 kB / 0.523 GB, free: 12.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.3132, allocations: 481.1 kB / 0.5234 GB, free: 11.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3132, allocations: 1.375 kB / 0.5234 GB, free: 11.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007423/0.3139, allocations: 0.5198 MB / 0.5239 GB, free: 11.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.314, allocations: 34.52 kB / 0.524 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.314, allocations: 9.688 kB / 0.524 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.314, allocations: 13.09 kB / 0.524 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.3144, allocations: 112.4 kB / 0.5241 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.3144, allocations: 8.672 kB / 0.5241 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.3147, allocations: 22.59 kB / 0.5241 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.3148, allocations: 31.89 kB / 0.5242 GB, free: 11.33 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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.000258/0.315, allocations: 245.7 kB / 0.5244 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.3151, allocations: 51.03 kB / 0.5245 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000707/0.3158, allocations: 460.2 kB / 0.5249 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3159, allocations: 5.359 kB / 0.5249 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3159, allocations: 5.406 kB / 0.5249 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.316, allocations: 140.1 kB / 0.525 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.548e-05/0.3161, allocations: 8.609 kB / 0.525 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.3163, allocations: 18.38 kB / 0.5251 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.3164, allocations: 21.8 kB / 0.5251 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008687/0.3173, allocations: 0.642 MB / 0.5257 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009625/0.3183, allocations: 0.8473 MB / 0.5265 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002464/0.3185, allocations: 187.1 kB / 0.5267 GB, free: 9.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002853/0.3188, allocations: 269.3 kB / 0.527 GB, free: 9.637 MB / 398.1 MB Notification: Performance of Backend: time 4.3e-07/0.3188, allocations: 96 / 0.527 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007954/0.3196, allocations: 372.6 kB / 0.5273 GB, free: 9.426 MB / 398.1 MB Notification: Performance of SimCode: time 0.001787/0.3214, allocations: 1.428 MB / 0.5287 GB, free: 8.391 MB / 398.1 MB Notification: Performance of Templates: time 0.009466/0.3309, allocations: 4.898 MB / 0.5335 GB, free: 6.816 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1)