Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 107.8 kB / 17.07 MB, free: 5.68 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.001405/0.001405, allocations: 194.9 kB / 18.01 MB, free: 5.02 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.384/1.384, allocations: 222.9 MB / 241.7 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.04951/0.04951, allocations: 8.1 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.001571, allocations: 63.91 kB / 363.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2508, allocations: 51.51 MB / 414.7 MB, free: 25.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002969/0.2538, allocations: 1.224 MB / 415.9 MB, free: 24.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.2555, allocations: 1.481 MB / 417.4 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.2557, allocations: 4 kB / 417.4 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.2561, allocations: 111.5 kB / 417.5 MB, free: 22.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.2564, allocations: 75.47 kB / 417.6 MB, free: 22.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.2578, allocations: 0.9024 MB / 418.5 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.258, allocations: 159.2 kB / 418.6 MB, free: 21.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.2582, allocations: 49.53 kB / 418.7 MB, free: 21.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.577e-05/0.2582, allocations: 63.72 kB / 418.7 MB, free: 21.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.2584, allocations: 83.67 kB / 418.8 MB, free: 21.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.2584, allocations: 12 kB / 418.8 MB, free: 21.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.2587, allocations: 207.8 kB / 419 MB, free: 21.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.2588, allocations: 35.83 kB / 419.1 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.2588, allocations: 71.61 kB / 419.1 MB, free: 21.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.2591, allocations: 309 kB / 419.4 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2592, allocations: 0 / 419.4 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2592, allocations: 0 / 419.4 MB, free: 20.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2592, allocations: 0 / 419.4 MB, free: 20.77 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001501/0.2607, allocations: 0.6357 MB / 420.1 MB, free: 20.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2607, allocations: 11.89 kB / 420.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.2608, allocations: 16.75 kB / 420.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.261, allocations: 224.5 kB / 420.3 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.2611, allocations: 12.61 kB / 420.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.2611, allocations: 12.38 kB / 420.4 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.2613, allocations: 181.2 kB / 420.5 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2614, allocations: 0 / 420.5 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.2614, allocations: 4 kB / 420.5 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.2614, allocations: 4 kB / 420.5 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.2616, allocations: 160.6 kB / 420.7 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008229/0.2624, allocations: 0.6992 MB / 421.4 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.2629, allocations: 210.4 kB / 421.6 MB, free: 18.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.263, allocations: 92.22 kB / 421.7 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.2631, allocations: 7.969 kB / 421.7 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.2631, allocations: 42.56 kB / 421.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.2631, allocations: 0 / 421.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001527/0.2647, allocations: 0.5657 MB / 422.3 MB, free: 17.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.2647, allocations: 55.34 kB / 422.4 MB, free: 17.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.2648, allocations: 171.4 kB / 422.5 MB, free: 17.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.2649, allocations: 29.7 kB / 422.6 MB, free: 17.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.2649, allocations: 116.2 kB / 422.7 MB, free: 17.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.265, allocations: 55.19 kB / 422.7 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.265, allocations: 45.7 kB / 422.8 MB, free: 17.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.2651, allocations: 322.8 kB / 423.1 MB, free: 16.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.2652, allocations: 91.97 kB / 423.2 MB, free: 16.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.2653, allocations: 103.8 kB / 423.3 MB, free: 16.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.2656, allocations: 208.8 kB / 423.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2656, allocations: 0 / 423.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006994/0.2663, allocations: 388.7 kB / 423.9 MB, free: 16.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2663, allocations: 4 kB / 423.9 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2663, allocations: 7.938 kB / 423.9 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006105/0.267, allocations: 136.7 kB / 424 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.2671, allocations: 23.98 kB / 424 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.2691, allocations: 2.035 MB / 426.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.2692, allocations: 15.91 kB / 426.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.2693, allocations: 8 kB / 426.1 MB, free: 13.72 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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 9.207e-05/0.2694, allocations: 133.7 kB / 426.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.2694, allocations: 11.81 kB / 426.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007559/0.2702, allocations: 359.3 kB / 426.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.2702, allocations: 3.984 kB / 426.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.2702, allocations: 0 / 426.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2702, allocations: 0 / 426.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.2704, allocations: 301.4 kB / 426.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2705, allocations: 4.062 kB / 426.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.746e-05/0.2705, allocations: 23.92 kB / 426.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005278/0.2711, allocations: 136.7 kB / 427 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.2711, allocations: 11.92 kB / 427 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.2728, allocations: 2.008 MB / 429.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2728, allocations: 4.031 kB / 429.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007061/0.2736, allocations: 425.7 kB / 429.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.2736, allocations: 93.02 kB / 429.6 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.2736, allocations: 4 kB / 429.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.2738, allocations: 12.11 kB / 429.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.2738, allocations: 19.92 kB / 429.6 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.2739, allocations: 11.94 kB / 429.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.274, allocations: 128.8 kB / 429.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.274, allocations: 4 kB / 429.7 MB, free: 9.816 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003662/0.2744, allocations: 67.84 kB / 429.8 MB, free: 9.75 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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001688/0.2745, allocations: 116.5 kB / 429.9 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006583/0.2752, allocations: 386.5 kB / 430.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2752, allocations: 0 / 430.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003747/0.2756, allocations: 262.6 kB / 430.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.2759, allocations: 26.95 kB / 430.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.2764, allocations: 351.2 kB / 430.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.2766, allocations: 0.7203 MB / 431.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.902e-05/0.2767, allocations: 21.39 kB / 431.7 MB, free: 7.805 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.2767, allocations: 19.44 kB / 431.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2767, allocations: 0 / 431.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of Templates: time 0.006618/0.2833, allocations: 4.022 MB / 435.7 MB, free: 3.781 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)