Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.000988/0.000988, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009802/0.0009802, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.026/1.026, allocations: 177.1 MB / 205 MB, free: 5.238 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.257/0.257, allocations: 29.41 MB / 290.9 MB, free: 2.379 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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 4 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.787e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004297/0.004324, allocations: 4.223 MB / 373.9 MB, free: 6.723 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.006326, allocations: 1.465 MB / 375.3 MB, free: 5.254 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.006583, allocations: 19.81 kB / 375.4 MB, free: 5.234 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005411/0.007124, allocations: 155.1 kB / 375.5 MB, free: 5.082 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004814/0.007606, allocations: 230.7 kB / 375.7 MB, free: 4.855 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.00831, allocations: 275.1 kB / 376 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000617/0.008927, allocations: 0.5688 MB / 376.6 MB, free: 4.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003794/0.009306, allocations: 246.7 kB / 376.8 MB, free: 3.773 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005496/0.009856, allocations: 395 kB / 377.2 MB, free: 3.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.01017, allocations: 271.3 kB / 377.5 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.01021, allocations: 32 kB / 377.5 MB, free: 3.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.0105, allocations: 155.7 kB / 377.6 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.01069, allocations: 239.4 kB / 377.9 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.01084, allocations: 175.6 kB / 378 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005207/0.01136, allocations: 462.4 kB / 378.5 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.01136, allocations: 4 kB / 378.5 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01136, allocations: 0 / 378.5 MB, free: 2.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.01137, allocations: 0 / 378.5 MB, free: 2.074 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0009109/0.01228, allocations: 0.8016 MB / 379.3 MB, free: 1.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.01233, allocations: 15.92 kB / 379.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005221/0.01285, allocations: 180.4 kB / 379.5 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.01325, allocations: 341.7 kB / 379.8 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.01327, allocations: 41.36 kB / 379.9 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.01337, allocations: 48.69 kB / 379.9 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.01388, allocations: 0.5063 MB / 380.4 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.01389, allocations: 7.938 kB / 380.4 MB, free: 0 / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.01394, allocations: 19.98 kB / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.973e-05/0.01402, allocations: 32.98 kB / 380.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.01436, allocations: 229.6 kB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.01652, allocations: 3.476 MB / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.01671, allocations: 134 kB / 384.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.453e-05/0.01678, allocations: 59.41 kB / 384.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.0168, allocations: 4 kB / 384.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.01683, allocations: 45.33 kB / 384.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.01683, allocations: 0 / 384.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008322/0.01766, allocations: 0.5825 MB / 385 MB, free: 11.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.0177, allocations: 85.05 kB / 385.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.01794, allocations: 398.6 kB / 385.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.01795, allocations: 29.7 kB / 385.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.01811, allocations: 354.6 kB / 385.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.01816, allocations: 87.27 kB / 385.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-05/0.01825, allocations: 95.8 kB / 386 MB, free: 10.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.01838, allocations: 0.5235 MB / 386.6 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.01846, allocations: 48.91 kB / 386.6 MB, free: 9.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.01866, allocations: 347.2 kB / 386.9 MB, free: 9.051 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.01899, allocations: 452.6 kB / 387.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.01899, allocations: 4 kB / 387.4 MB, free: 8.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005676/0.01956, allocations: 420.4 kB / 387.8 MB, free: 8.055 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.01958, allocations: 8 kB / 387.8 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002361/0.01982, allocations: 158.2 kB / 388 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002577/0.02008, allocations: 76.28 kB / 388 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.02027, allocations: 95.83 kB / 388.1 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.02129, allocations: 1.854 MB / 390 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.02143, allocations: 24.02 kB / 390 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.02145, allocations: 24 kB / 390 MB, free: 5.691 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.02159, allocations: 184.4 kB / 390.2 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.02163, allocations: 47.7 kB / 390.3 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.02188, allocations: 196.7 kB / 390.4 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.02189, allocations: 4 kB / 390.4 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.02189, allocations: 0 / 390.4 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.02189, allocations: 0 / 390.4 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006639/0.02256, allocations: 0.648 MB / 391.1 MB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.02256, allocations: 0 / 391.1 MB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.02271, allocations: 51.97 kB / 391.1 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.02271, allocations: 0 / 391.1 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.02273, allocations: 8 kB / 391.2 MB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.02273, allocations: 4 kB / 391.2 MB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.02273, allocations: 3.938 kB / 391.2 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.02319, allocations: 416 kB / 391.6 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.02322, allocations: 35.75 kB / 391.6 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.02325, allocations: 7.938 kB / 391.6 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.02332, allocations: 7.984 kB / 391.6 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.02336, allocations: 19.97 kB / 391.6 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.02337, allocations: 4 kB / 391.6 MB, free: 3.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.0235, allocations: 247 kB / 391.9 MB, free: 3.734 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0235, allocations: 0 / 391.9 MB, free: 3.734 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.0238, allocations: 99.94 kB / 392 MB, free: 3.637 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * 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 9.12e-05/0.02389, allocations: 99.25 kB / 392.1 MB, free: 3.527 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004411/0.02433, allocations: 408.2 kB / 392.5 MB, free: 3.109 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02433, allocations: 0 / 392.5 MB, free: 3.109 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.031e-05/0.02441, allocations: 76.16 kB / 392.6 MB, free: 3.031 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.02473, allocations: 72.95 kB / 392.6 MB, free: 2.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.02619, allocations: 0.8413 MB / 393.5 MB, free: 2.078 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.036e-05/0.02628, allocations: 145.2 kB / 393.6 MB, free: 1.914 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001613/0.02644, allocations: 99.16 kB / 393.7 MB, free: 1.816 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.0265, allocations: 32.48 kB / 393.7 MB, free: 1.785 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0265, allocations: 0 / 393.7 MB, free: 1.785 MB / 362.7 MB Notification: Performance of Templates: time 0.006645/0.03314, allocations: 3.732 MB / 397.5 MB, free: 14.11 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1102327052503824]