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.001264/0.001264, allocations: 107.8 kB / 16.69 MB, free: 5.906 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.001234/0.001234, allocations: 190.7 kB / 17.61 MB, free: 5.473 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.34/1.34, allocations: 222.9 MB / 241.3 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04883/0.04883, allocations: 8.097 MB / 299.5 MB, free: 6.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.91 kB / 361.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2293, allocations: 51.52 MB / 413.4 MB, free: 25.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002017/0.2313, allocations: 1.109 MB / 414.5 MB, free: 24.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.2327, allocations: 1.45 MB / 416 MB, free: 23.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.456e-05/0.2327, allocations: 0 / 416 MB, free: 23.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.2331, allocations: 95.67 kB / 416 MB, free: 23.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.2333, allocations: 75.66 kB / 416.1 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.2344, allocations: 0.8166 MB / 416.9 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.2346, allocations: 107.5 kB / 417 MB, free: 22.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2347, allocations: 44.89 kB / 417.1 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.125e-05/0.2347, allocations: 39.86 kB / 417.1 MB, free: 22.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.455e-05/0.2348, allocations: 59.75 kB / 417.2 MB, free: 21.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.2348, allocations: 8 kB / 417.2 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002732/0.2351, allocations: 207.8 kB / 417.4 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.2351, allocations: 15.94 kB / 417.4 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.2352, allocations: 55.72 kB / 417.5 MB, free: 21.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.2354, allocations: 205.5 kB / 417.7 MB, free: 21.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2354, allocations: 0 / 417.7 MB, free: 21.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2354, allocations: 4 kB / 417.7 MB, free: 21.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.2354, allocations: 0 / 417.7 MB, free: 21.47 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.001736/0.2372, allocations: 0.6356 MB / 418.3 MB, free: 20.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2372, allocations: 15.89 kB / 418.3 MB, free: 20.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.2373, allocations: 16.75 kB / 418.3 MB, free: 20.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.2374, allocations: 212.1 kB / 418.5 MB, free: 20.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.2374, allocations: 12.36 kB / 418.6 MB, free: 20.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.2375, allocations: 8.375 kB / 418.6 MB, free: 20.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.2377, allocations: 166.8 kB / 418.7 MB, free: 20.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2377, allocations: 4.125 kB / 418.7 MB, free: 20.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.2378, allocations: 7.938 kB / 418.7 MB, free: 20.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.2378, allocations: 4 kB / 418.7 MB, free: 20.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.2379, allocations: 116 kB / 418.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.2386, allocations: 496.3 kB / 419.3 MB, free: 19.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006037/0.2392, allocations: 178.6 kB / 419.5 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.482e-05/0.2393, allocations: 44.86 kB / 419.6 MB, free: 19.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/0.2396, allocations: 462.2 kB / 420 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.2396, allocations: 30.56 kB / 420 MB, free: 18.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.2396, allocations: 0 / 420 MB, free: 18.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007447/0.2404, allocations: 295.4 kB / 420.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.2404, allocations: 89.05 kB / 420.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2405, allocations: 159.8 kB / 420.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.2406, allocations: 29.7 kB / 420.6 MB, free: 18.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.2406, allocations: 112.1 kB / 420.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.2406, allocations: 39.45 kB / 420.7 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.2407, allocations: 41.7 kB / 420.8 MB, free: 18.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.2408, allocations: 326.8 kB / 421.1 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.959e-05/0.2408, allocations: 63.91 kB / 421.2 MB, free: 17.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.848e-05/0.241, allocations: 116.4 kB / 421.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.2411, allocations: 171.6 kB / 421.4 MB, free: 17.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.2411, allocations: 3.938 kB / 421.5 MB, free: 17.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004573/0.2416, allocations: 262.1 kB / 421.7 MB, free: 17.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2416, allocations: 6.031 kB / 421.7 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2416, allocations: 4.141 kB / 421.7 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004034/0.2421, allocations: 72.75 kB / 421.8 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.2422, allocations: 31.97 kB / 421.8 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000996/0.2432, allocations: 1.484 MB / 423.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.2434, allocations: 27.73 kB / 423.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.2434, allocations: 7.984 kB / 423.3 MB, free: 15.3 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 8.066e-05/0.2435, allocations: 129.7 kB / 423.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.2435, allocations: 7.906 kB / 423.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004258/0.2439, allocations: 199.1 kB / 423.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.244, allocations: 0 / 423.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.244, allocations: 4 kB / 423.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.244, allocations: 0 / 423.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.2441, allocations: 241.3 kB / 423.9 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2442, allocations: 4 kB / 423.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.2442, allocations: 11.94 kB / 423.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000313/0.2445, allocations: 68.8 kB / 424 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2446, allocations: 4 kB / 424 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008534/0.2454, allocations: 1.469 MB / 425.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2454, allocations: 8.156 kB / 425.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.2458, allocations: 260.1 kB / 425.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.2458, allocations: 89.02 kB / 425.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2459, allocations: 0 / 425.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.246, allocations: 7.984 kB / 425.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.246, allocations: 12 kB / 425.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.246, allocations: 4 kB / 425.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.205e-05/0.2461, allocations: 122.9 kB / 426 MB, free: 12.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2461, allocations: 0 / 426 MB, free: 12.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.2464, allocations: 40 kB / 426 MB, free: 12.4 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.0001503/0.2466, allocations: 119.2 kB / 426.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005049/0.2471, allocations: 282.4 kB / 426.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2471, allocations: 0 / 426.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.2474, allocations: 174.9 kB / 426.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.2476, allocations: 15.94 kB / 426.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.2481, allocations: 336.2 kB / 426.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.2482, allocations: 0.7044 MB / 427.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.2483, allocations: 19.42 kB / 427.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2483, allocations: 0 / 427.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Templates: time 0.003545/0.2518, allocations: 2.379 MB / 430 MB, free: 8.301 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)