Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 101.5 kB / 16.02 MB, free: 6.262 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.001033/0.001033, allocations: 197.9 kB / 16.95 MB, free: 6.102 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05162/0.05162, allocations: 8.097 MB / 298.9 MB, free: 6.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 59.91 kB / 361.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2707, allocations: 51.52 MB / 412.7 MB, free: 25.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.003048/0.2739, allocations: 1.659 MB / 414.4 MB, free: 24.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.2759, allocations: 1.547 MB / 415.9 MB, free: 22.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.276, allocations: 0 / 415.9 MB, free: 22.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.2764, allocations: 107.6 kB / 416 MB, free: 22.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003925/0.2769, allocations: 123.3 kB / 416.2 MB, free: 22.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.2785, allocations: 0.9691 MB / 417.1 MB, free: 21.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.2788, allocations: 242.8 kB / 417.4 MB, free: 21.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.2789, allocations: 85.83 kB / 417.5 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.513e-05/0.279, allocations: 99.64 kB / 417.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.2792, allocations: 135.4 kB / 417.7 MB, free: 20.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.2792, allocations: 20 kB / 417.7 MB, free: 20.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.2796, allocations: 235.8 kB / 417.9 MB, free: 20.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.2796, allocations: 47.83 kB / 418 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.902e-05/0.2797, allocations: 119.3 kB / 418.1 MB, free: 20.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.2801, allocations: 416.8 kB / 418.5 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2801, allocations: 0 / 418.5 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2801, allocations: 0 / 418.5 MB, free: 19.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2801, allocations: 0 / 418.5 MB, free: 19.97 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003267/0.2834, allocations: 0.9905 MB / 419.5 MB, free: 18.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.2834, allocations: 8.031 kB / 419.5 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.835e-05/0.2835, allocations: 28.66 kB / 419.5 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.2838, allocations: 259.9 kB / 419.8 MB, free: 18.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.2838, allocations: 16.7 kB / 419.8 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.2839, allocations: 24.38 kB / 419.8 MB, free: 18.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.2843, allocations: 298.5 kB / 420.1 MB, free: 18.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2843, allocations: 192 / 420.1 MB, free: 18.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.2843, allocations: 15.88 kB / 420.1 MB, free: 18.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2843, allocations: 4 kB / 420.1 MB, free: 18.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.2847, allocations: 243.9 kB / 420.4 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.286, allocations: 1.172 MB / 421.5 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/0.2866, allocations: 310.4 kB / 421.9 MB, free: 16.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.2868, allocations: 156.8 kB / 422 MB, free: 16.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/0.2869, allocations: 15.97 kB / 422 MB, free: 16.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.2869, allocations: 34.56 kB / 422.1 MB, free: 16.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.2869, allocations: 0 / 422.1 MB, free: 16.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.003733/0.2906, allocations: 1.07 MB / 423.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.2907, allocations: 110.8 kB / 423.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.2909, allocations: 210.9 kB / 423.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.2909, allocations: 33.7 kB / 423.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/0.291, allocations: 128.8 kB / 423.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/0.2911, allocations: 90.73 kB / 423.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.2912, allocations: 73.58 kB / 423.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.246e-05/0.2913, allocations: 334.8 kB / 424.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.2915, allocations: 180.2 kB / 424.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.2917, allocations: 214.4 kB / 424.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.2922, allocations: 377.5 kB / 424.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2922, allocations: 0 / 424.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001945/0.2942, allocations: 0.7475 MB / 425.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.2942, allocations: 8 kB / 425.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2942, allocations: 3.984 kB / 425.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002108/0.2963, allocations: 416.4 kB / 426 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.2966, allocations: 59.91 kB / 426.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003945/0.3005, allocations: 2.732 MB / 428.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.301, allocations: 39.67 kB / 428.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.301, allocations: 12 kB / 428.8 MB, free: 9.133 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.3012, allocations: 145.7 kB / 429 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.3012, allocations: 23.72 kB / 429 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.3032, allocations: 0.6949 MB / 429.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3032, allocations: 4 kB / 429.7 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.3032, allocations: 0 / 429.7 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.3032, allocations: 0 / 429.7 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.3035, allocations: 393.1 kB / 430.1 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3035, allocations: 4 kB / 430.1 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.3037, allocations: 39.92 kB / 430.1 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001982/0.3057, allocations: 416.4 kB / 430.5 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.3057, allocations: 7.984 kB / 430.6 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003492/0.3092, allocations: 2.703 MB / 433.3 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3092, allocations: 3.984 kB / 433.3 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.311, allocations: 0.7468 MB / 434 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.3111, allocations: 100.8 kB / 434.1 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.3111, allocations: 4 kB / 434.1 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.3114, allocations: 23.92 kB / 434.1 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.3115, allocations: 23.97 kB / 434.2 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.3115, allocations: 8 kB / 434.2 MB, free: 3.566 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.3117, allocations: 156.4 kB / 434.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3117, allocations: 4 kB / 434.3 MB, free: 3.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004652/0.3121, allocations: 107.9 kB / 434.4 MB, free: 3.305 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001893/0.3123, allocations: 131.2 kB / 434.6 MB, free: 3.168 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.3137, allocations: 0.6272 MB / 435.2 MB, free: 2.527 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3137, allocations: 0 / 435.2 MB, free: 2.527 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008798/0.3146, allocations: 414.6 kB / 435.6 MB, free: 2.109 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.315, allocations: 38.83 kB / 435.6 MB, free: 2.074 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007707/0.3157, allocations: 0.5755 MB / 436.2 MB, free: 1.477 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.3159, allocations: 0.7523 MB / 436.9 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.3161, allocations: 29.92 kB / 437 MB, free: 0.668 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.3161, allocations: 27.42 kB / 437 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3161, allocations: 4 kB / 437 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of Templates: time 0.0107/0.3268, allocations: 7.099 MB / 444.1 MB, free: 9.559 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)