Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 84.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 169.9 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.073/1.073, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.269/0.269, allocations: 29.42 MB / 291.2 MB, free: 2.488 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.64e-05, allocations: 5.078 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.00609/0.006116, allocations: 4.769 MB / 321.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.008324, allocations: 1.348 MB / 323 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.008586, allocations: 27.75 kB / 323 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.008965, allocations: 123.1 kB / 323.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006448/0.00961, allocations: 385.9 kB / 323.5 MB, free: 9.289 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.009856, allocations: 135.7 kB / 323.6 MB, free: 9.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006488/0.0105, allocations: 0.7708 MB / 324.4 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.01071, allocations: 125.3 kB / 324.5 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007101/0.01142, allocations: 0.5415 MB / 325.1 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.01178, allocations: 271.2 kB / 325.3 MB, free: 7.449 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.01182, allocations: 32 kB / 325.4 MB, free: 7.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.046e-05/0.01188, allocations: 36 kB / 325.4 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003887/0.01227, allocations: 199.4 kB / 325.6 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.01239, allocations: 163.6 kB / 325.8 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.01275, allocations: 362.6 kB / 326.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.01276, allocations: 7.922 kB / 326.1 MB, free: 6.664 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01276, allocations: 4 kB / 326.1 MB, free: 6.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.01276, allocations: 0 / 326.1 MB, free: 6.66 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0007051/0.01347, allocations: 0.6687 MB / 326.8 MB, free: 5.965 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.01352, allocations: 15.98 kB / 326.8 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.245e-05/0.01361, allocations: 64.88 kB / 326.9 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.01403, allocations: 393.2 kB / 327.3 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.01405, allocations: 29.38 kB / 327.3 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.01409, allocations: 36.38 kB / 327.3 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.01443, allocations: 354.7 kB / 327.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01444, allocations: 4 kB / 327.7 MB, free: 5.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.01447, allocations: 19.98 kB / 327.7 MB, free: 5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.233e-05/0.01451, allocations: 17 kB / 327.7 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.01467, allocations: 130.8 kB / 327.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.01608, allocations: 1.635 MB / 329.5 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.01626, allocations: 131.8 kB / 329.6 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.173e-05/0.01635, allocations: 78.55 kB / 329.7 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.01637, allocations: 4 kB / 329.7 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.01639, allocations: 30.56 kB / 329.7 MB, free: 2.848 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.674e-06/0.01639, allocations: 0 / 329.7 MB, free: 2.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.000438/0.01683, allocations: 188.6 kB / 329.9 MB, free: 2.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.01688, allocations: 89.14 kB / 330 MB, free: 2.555 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.01717, allocations: 343 kB / 330.3 MB, free: 2.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.01719, allocations: 29.7 kB / 330.4 MB, free: 2.172 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.01735, allocations: 260.4 kB / 330.6 MB, free: 1.914 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.102e-05/0.01742, allocations: 87.28 kB / 330.7 MB, free: 1.828 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.01752, allocations: 74.12 kB / 330.8 MB, free: 1.746 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.01765, allocations: 350.7 kB / 331.1 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-05/0.01771, allocations: 28.98 kB / 331.1 MB, free: 1.367 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.01788, allocations: 207.2 kB / 331.3 MB, free: 1.082 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.01818, allocations: 291.3 kB / 331.6 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.01819, allocations: 4 kB / 331.6 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004782/0.01867, allocations: 285.1 kB / 331.9 MB, free: 436 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.01869, allocations: 8 kB / 331.9 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.0187, allocations: 4 kB / 331.9 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.01889, allocations: 43.67 kB / 332 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.01911, allocations: 79.84 kB / 332 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.02032, allocations: 1.309 MB / 333.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.02055, allocations: 47.62 kB / 333.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.02057, allocations: 12 kB / 333.4 MB, free: 14.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.02072, allocations: 140.5 kB / 333.5 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.02078, allocations: 31.97 kB / 333.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.02099, allocations: 137.2 kB / 333.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.021, allocations: 0 / 333.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.021, allocations: 0 / 333.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.021, allocations: 8.031 kB / 333.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.0216, allocations: 409.6 kB / 334.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.02161, allocations: 0 / 334.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.02181, allocations: 43.92 kB / 334.2 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.02182, allocations: 7.938 kB / 334.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.02184, allocations: 7.984 kB / 334.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.02184, allocations: 0 / 334.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.02184, allocations: 4.188 kB / 334.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.02212, allocations: 274.7 kB / 334.4 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.02221, allocations: 43.64 kB / 334.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.02224, allocations: 8 kB / 334.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.02236, allocations: 4 kB / 334.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.02239, allocations: 15.97 kB / 334.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.0224, allocations: 4 kB / 334.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001385/0.02254, allocations: 128.7 kB / 334.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02254, allocations: 0 / 334.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000447/0.02299, allocations: 103.8 kB / 334.7 MB, free: 13.42 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001115/0.0231, allocations: 92.38 kB / 334.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004753/0.02357, allocations: 301.2 kB / 335.1 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.02359, allocations: 4 kB / 335.1 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.388e-05/0.02367, allocations: 55.56 kB / 335.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.02416, allocations: 95.34 kB / 335.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.02593, allocations: 0.7802 MB / 336.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.02608, allocations: 141.2 kB / 336.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002087/0.02628, allocations: 51.38 kB / 336.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.0265, allocations: 123.3 kB / 336.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of SimCode: time 1.784e-06/0.02651, allocations: 0 / 336.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of Templates: time 0.00957/0.03608, allocations: 3.873 MB / 340.2 MB, free: 7.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9471303410828114]