Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 104.1 kB / 17.13 MB, free: 5.914 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.001176/0.001176, allocations: 199.1 kB / 18.07 MB, free: 5 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.313/1.313, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04607/0.04607, allocations: 8.108 MB / 300 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.89 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08977/0.09101, allocations: 51.51 MB / 466.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002193/0.09323, allocations: 1.158 MB / 467.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.09515, allocations: 1.442 MB / 469.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.09528, allocations: 0 / 469.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.09566, allocations: 111.4 kB / 469.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.09596, allocations: 71.53 kB / 469.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.09735, allocations: 0.7506 MB / 470.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.0976, allocations: 139.3 kB / 470.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.09773, allocations: 53.08 kB / 470.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.868e-05/0.0978, allocations: 55.78 kB / 470.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.996e-05/0.09791, allocations: 75.69 kB / 470.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.09794, allocations: 8 kB / 470.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003033/0.09825, allocations: 159.9 kB / 470.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.09829, allocations: 23.91 kB / 470.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.636e-05/0.09836, allocations: 67.61 kB / 470.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.09875, allocations: 271.3 kB / 471 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.09876, allocations: 4 kB / 471 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09877, allocations: 0 / 471 MB, free: 13.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.09878, allocations: 0 / 471 MB, free: 13.77 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001482/0.1003, allocations: 0.5772 MB / 471.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1003, allocations: 15.83 kB / 471.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.1004, allocations: 16.75 kB / 471.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.1006, allocations: 215.6 kB / 471.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1006, allocations: 8.609 kB / 471.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.1007, allocations: 16.38 kB / 471.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.101, allocations: 164 kB / 472 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.101, allocations: 192 / 472 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.101, allocations: 15.94 kB / 472.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.101, allocations: 0 / 472.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.1012, allocations: 156.6 kB / 472.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008609/0.1021, allocations: 0.5598 MB / 472.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.1024, allocations: 158.5 kB / 472.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1025, allocations: 73.09 kB / 473 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.1025, allocations: 15.92 kB / 473 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1026, allocations: 34.56 kB / 473 MB, free: 11.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.1026, allocations: 0 / 473 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009686/0.1036, allocations: 387.1 kB / 473.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.1036, allocations: 55.41 kB / 473.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.1037, allocations: 172.6 kB / 473.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.1038, allocations: 29.7 kB / 473.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.228e-05/0.1039, allocations: 120.1 kB / 473.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1039, allocations: 39.39 kB / 473.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.043e-05/0.104, allocations: 57.59 kB / 473.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1041, allocations: 322.8 kB / 474.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.1042, allocations: 87.97 kB / 474.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1044, allocations: 91.97 kB / 474.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.1047, allocations: 193.3 kB / 474.6 MB, free: 10 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1047, allocations: 4 kB / 474.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000544/0.1052, allocations: 302.1 kB / 474.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1052, allocations: 4 kB / 474.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1053, allocations: 4 kB / 474.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/0.1055, allocations: 56.81 kB / 474.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.1057, allocations: 31.92 kB / 475 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.1071, allocations: 1.535 MB / 476.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.1072, allocations: 19.97 kB / 476.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.1073, allocations: 11.98 kB / 476.5 MB, free: 7.883 MB / 350.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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.1074, allocations: 129.7 kB / 476.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.1074, allocations: 15.81 kB / 476.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.1079, allocations: 235.2 kB / 476.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1079, allocations: 0 / 476.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1079, allocations: 3.984 kB / 476.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.108, allocations: 93 kB / 477 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.108, allocations: 4 kB / 477 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.1081, allocations: 4 kB / 477 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.1082, allocations: 7.984 kB / 477 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005649/0.1087, allocations: 297.7 kB / 477.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004001/0.1092, allocations: 414.6 kB / 477.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.641e-05/0.1093, allocations: 67.88 kB / 477.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.291e-05/0.1094, allocations: 129.5 kB / 477.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of Backend: time 3.61e-07/0.1094, allocations: 0 / 477.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009669/0.1103, allocations: 424.8 kB / 478.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006317/0.111, allocations: 0.7059 MB / 479 MB, free: 5.266 MB / 350.1 MB Notification: Performance of Templates: time 0.006742/0.1177, allocations: 3.725 MB / 482.7 MB, free: 1.547 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)