Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001094, allocations: 117.2 kB / 17.13 MB, free: 5.918 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.001122/0.001123, allocations: 190.3 kB / 18.06 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.286/1.286, allocations: 222.9 MB / 241.8 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04365/0.04365, allocations: 8.097 MB / 300 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 60.09 kB / 415.1 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07669/0.07789, allocations: 51.52 MB / 466.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002026/0.07996, allocations: 1.064 MB / 467.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.08163, allocations: 1.454 MB / 469.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.241e-05/0.0817, allocations: 0 / 469.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.08202, allocations: 111.5 kB / 469.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.08225, allocations: 75.53 kB / 469.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.08365, allocations: 0.879 MB / 470.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.08384, allocations: 111.4 kB / 470.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.785e-05/0.08394, allocations: 33.09 kB / 470.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.935e-05/0.084, allocations: 47.84 kB / 470.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.08409, allocations: 55.77 kB / 470.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.08411, allocations: 8 kB / 470.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.08442, allocations: 211.8 kB / 470.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.08447, allocations: 19.92 kB / 470.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.08453, allocations: 55.73 kB / 470.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.08488, allocations: 279.2 kB / 471 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.0849, allocations: 0 / 471 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.0849, allocations: 0 / 471 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.08492, allocations: 3.984 kB / 471.1 MB, free: 13.75 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001895/0.08682, allocations: 0.6434 MB / 471.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.08686, allocations: 11.89 kB / 471.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.08691, allocations: 12.84 kB / 471.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.0871, allocations: 200.2 kB / 471.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.08712, allocations: 8.375 kB / 471.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.08715, allocations: 16.38 kB / 471.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.08742, allocations: 162.4 kB / 472.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.08744, allocations: 4.125 kB / 472.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.08747, allocations: 11.94 kB / 472.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.08748, allocations: 0 / 472.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.08766, allocations: 119.9 kB / 472.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.08841, allocations: 0.4886 MB / 472.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.08906, allocations: 178.5 kB / 472.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.646e-05/0.08915, allocations: 44.86 kB / 472.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004264/0.08958, allocations: 458.2 kB / 473.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.08962, allocations: 46.55 kB / 473.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.404e-06/0.08963, allocations: 0 / 473.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.00073/0.09036, allocations: 287.3 kB / 473.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.09042, allocations: 89.09 kB / 473.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.09057, allocations: 165.3 kB / 474 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.0906, allocations: 29.7 kB / 474 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.09066, allocations: 115.8 kB / 474.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.09069, allocations: 27.56 kB / 474.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.633e-05/0.09077, allocations: 53.59 kB / 474.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.09088, allocations: 322.8 kB / 474.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-05/0.09098, allocations: 55.98 kB / 474.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.09112, allocations: 118 kB / 474.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.09135, allocations: 172.1 kB / 474.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.09136, allocations: 0 / 474.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005078/0.09188, allocations: 258.2 kB / 475.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.0919, allocations: 4 kB / 475.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.09191, allocations: 4 kB / 475.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/0.09231, allocations: 72.89 kB / 475.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.09246, allocations: 35.92 kB / 475.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.09373, allocations: 1.473 MB / 476.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.09388, allocations: 20.2 kB / 476.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.09391, allocations: 7.984 kB / 476.7 MB, free: 7.605 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * 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.0001006/0.09402, allocations: 137.8 kB / 476.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.09406, allocations: 15.75 kB / 476.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004374/0.0945, allocations: 191.5 kB / 477 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.09452, allocations: 4 kB / 477 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.09453, allocations: 0 / 477 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.09454, allocations: 4 kB / 477 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.09477, allocations: 237.5 kB / 477.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.09478, allocations: 0 / 477.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.675e-05/0.09485, allocations: 15.98 kB / 477.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003242/0.09518, allocations: 72.73 kB / 477.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.0952, allocations: 4 kB / 477.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.09637, allocations: 1.465 MB / 478.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.09639, allocations: 7.922 kB / 478.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.09681, allocations: 280.2 kB / 479.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.09688, allocations: 84.95 kB / 479.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.0969, allocations: 8 kB / 479.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.09702, allocations: 4 kB / 479.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.09705, allocations: 7.984 kB / 479.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.09707, allocations: 0 / 479.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.161e-05/0.09715, allocations: 123.2 kB / 479.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09716, allocations: 0 / 479.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.09747, allocations: 40 kB / 479.4 MB, free: 4.68 MB / 350.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 (10): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0001379/0.09762, allocations: 119.2 kB / 479.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.09815, allocations: 270.5 kB / 479.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.09817, allocations: 0 / 479.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.09848, allocations: 186.5 kB / 479.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.09872, allocations: 11.94 kB / 480 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.0992, allocations: 283.9 kB / 480.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.09945, allocations: 0.7087 MB / 480.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.09949, allocations: 19.42 kB / 481 MB, free: 3.008 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.0995, allocations: 0 / 481 MB, free: 3.008 MB / 350.1 MB Notification: Performance of Templates: time 0.003772/0.1033, allocations: 2.39 MB / 483.3 MB, free: 0.6172 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)