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.001181/0.001181, allocations: 110.8 kB / 17.08 MB, free: 5.773 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.001145/0.001145, allocations: 195 kB / 18.02 MB, free: 4.953 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.422/1.422, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05026/0.05026, allocations: 8.091 MB / 300 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 63.91 kB / 363.2 MB, free: 7.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2399, allocations: 51.52 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002068/0.242, allocations: 1.053 MB / 415.8 MB, free: 24.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.2439, allocations: 1.462 MB / 417.2 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.2441, allocations: 0 / 417.2 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004815/0.2446, allocations: 107.5 kB / 417.3 MB, free: 22.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.245, allocations: 83.52 kB / 417.4 MB, free: 22.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.2464, allocations: 0.8665 MB / 418.3 MB, free: 21.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.2467, allocations: 111.4 kB / 418.4 MB, free: 21.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2468, allocations: 32.97 kB / 418.4 MB, free: 21.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.258e-05/0.2469, allocations: 43.8 kB / 418.4 MB, free: 21.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.413e-05/0.247, allocations: 55.77 kB / 418.5 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.247, allocations: 8 kB / 418.5 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.2474, allocations: 203.8 kB / 418.7 MB, free: 21.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.2474, allocations: 27.86 kB / 418.7 MB, free: 21.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.724e-05/0.2475, allocations: 67.66 kB / 418.8 MB, free: 21.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003908/0.2479, allocations: 269.1 kB / 419.1 MB, free: 21.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.2479, allocations: 0 / 419.1 MB, free: 21.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2479, allocations: 0 / 419.1 MB, free: 21.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.2479, allocations: 0 / 419.1 MB, free: 21.05 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001832/0.2497, allocations: 0.655 MB / 419.7 MB, free: 20.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2498, allocations: 15.89 kB / 419.7 MB, free: 20.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.2498, allocations: 16.75 kB / 419.8 MB, free: 20.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.25, allocations: 199.2 kB / 419.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.25, allocations: 8.375 kB / 420 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.2501, allocations: 12.38 kB / 420 MB, free: 20.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.2503, allocations: 159.8 kB / 420.1 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2503, allocations: 4.172 kB / 420.1 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.2504, allocations: 11.94 kB / 420.1 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2504, allocations: 4 kB / 420.1 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.2505, allocations: 116 kB / 420.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006505/0.2512, allocations: 496.3 kB / 420.7 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.2518, allocations: 174.6 kB / 420.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.514e-05/0.2519, allocations: 52.84 kB / 421 MB, free: 18.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003623/0.2522, allocations: 454.2 kB / 421.4 MB, free: 18.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.2523, allocations: 34.56 kB / 421.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.2523, allocations: 0 / 421.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006961/0.253, allocations: 303.2 kB / 421.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.253, allocations: 81.44 kB / 421.8 MB, free: 18.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.2531, allocations: 160.8 kB / 422 MB, free: 17.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.2532, allocations: 29.7 kB / 422 MB, free: 17.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.2532, allocations: 115.7 kB / 422.1 MB, free: 17.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.2532, allocations: 43.44 kB / 422.2 MB, free: 17.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.2533, allocations: 45.69 kB / 422.2 MB, free: 17.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.624e-05/0.2533, allocations: 322.8 kB / 422.5 MB, free: 17.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.494e-05/0.2534, allocations: 63.97 kB / 422.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.2535, allocations: 116 kB / 422.7 MB, free: 17.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.2537, allocations: 169.1 kB / 422.9 MB, free: 16.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2537, allocations: 0 / 422.9 MB, free: 16.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004705/0.2542, allocations: 264.1 kB / 423.1 MB, free: 16.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2543, allocations: 8 kB / 423.1 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2543, allocations: 4 kB / 423.1 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003895/0.2547, allocations: 68.73 kB / 423.2 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.2548, allocations: 35.92 kB / 423.2 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.2559, allocations: 1.476 MB / 424.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.256, allocations: 27.72 kB / 424.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.2561, allocations: 4 kB / 424.7 MB, free: 14.88 MB / 302.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 9.095e-05/0.2562, allocations: 125.8 kB / 424.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.2562, allocations: 11.89 kB / 424.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.2566, allocations: 195.1 kB / 425.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.2566, allocations: 4 kB / 425.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2566, allocations: 0 / 425.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2567, allocations: 3.984 kB / 425.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.2568, allocations: 237.4 kB / 425.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2568, allocations: 0 / 425.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-05/0.2569, allocations: 12 kB / 425.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002907/0.2572, allocations: 68.8 kB / 425.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.2572, allocations: 4 kB / 425.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009095/0.2581, allocations: 1.48 MB / 426.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2582, allocations: 0 / 426.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.2585, allocations: 272.8 kB / 427.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.2586, allocations: 89 kB / 427.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.2586, allocations: 4 kB / 427.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.2587, allocations: 4 kB / 427.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.2587, allocations: 23.86 kB / 427.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.2588, allocations: 0 / 427.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.082e-05/0.2588, allocations: 121.7 kB / 427.4 MB, free: 12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2588, allocations: 0 / 427.4 MB, free: 12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.2592, allocations: 44 kB / 427.4 MB, free: 11.96 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 (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.0001611/0.2593, allocations: 111.2 kB / 427.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005253/0.2599, allocations: 274.5 kB / 427.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2599, allocations: 0 / 427.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002571/0.2601, allocations: 174.6 kB / 428 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.2604, allocations: 24.23 kB / 428 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.2608, allocations: 266.3 kB / 428.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.2609, allocations: 0.7044 MB / 428.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.128e-05/0.261, allocations: 16.88 kB / 429 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.261, allocations: 11.44 kB / 429 MB, free: 10.31 MB / 302.1 MB Notification: Performance of SimCode: time 1.122e-06/0.261, allocations: 0 / 429 MB, free: 10.31 MB / 302.1 MB Notification: Performance of Templates: time 0.004198/0.2653, allocations: 1.881 MB / 430.9 MB, free: 8.438 MB / 302.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 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)