Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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/PowerSystems 2.0.0/package.mo", uses=false) 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.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(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 110.8 kB / 17.29 MB, free: 6.188 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.002453/0.002454, allocations: 193.3 kB / 18.21 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.692/2.692, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4969/0.4969, allocations: 38.03 MB / 330.1 MB, free: 8.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002923/0.002923, allocations: 61.84 kB / 398.9 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2241, allocations: 58.06 MB / 457 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.02122/0.2455, allocations: 7.807 MB / 464.8 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009765/0.2553, allocations: 2.45 MB / 467.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.2571, allocations: 43.75 kB / 467.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003204/0.2603, allocations: 490 kB / 467.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003401/0.2637, allocations: 0.5098 MB / 468.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.2658, allocations: 331.5 kB / 468.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003153/0.269, allocations: 1.306 MB / 469.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.2715, allocations: 0.7636 MB / 470.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001845/0.2734, allocations: 0.5449 MB / 471.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/0.2757, allocations: 0.7284 MB / 471.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004952/0.2763, allocations: 96 kB / 472 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.2788, allocations: 0.5577 MB / 472.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001225/0.2801, allocations: 470.9 kB / 473.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002035/0.2821, allocations: 0.5172 MB / 473.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00326/0.2854, allocations: 1.13 MB / 474.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.2855, allocations: 0 / 474.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.2855, allocations: 0 / 474.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.244e-05/0.2856, allocations: 4 kB / 474.7 MB, free: 6.625 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.006834/0.2924, allocations: 1.348 MB / 476.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/0.2925, allocations: 11.89 kB / 476.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.2941, allocations: 147.6 kB / 476.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.2967, allocations: 0.6553 MB / 476.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004373/0.2971, allocations: 167.6 kB / 477 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004896/0.2977, allocations: 99.92 kB / 477.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004913/0.3026, allocations: 1.358 MB / 478.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.855e-05/0.3027, allocations: 3.984 kB / 478.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.3029, allocations: 39.98 kB / 478.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000302/0.3032, allocations: 61.98 kB / 478.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004671/0.3079, allocations: 1.3 MB / 479.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01436/0.3223, allocations: 4.923 MB / 484.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00453/0.3269, allocations: 1.137 MB / 486 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/0.3292, allocations: 0.6231 MB / 486.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.3294, allocations: 12.55 kB / 486.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.203e-05/0.3295, allocations: 43.12 kB / 486.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 5.911e-06/0.3295, allocations: 4 kB / 486.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01222/0.3418, allocations: 3.175 MB / 489.8 MB, free: 7.043 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.342, allocations: 85.67 kB / 489.9 MB, free: 6.941 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.3431, allocations: 465.9 kB / 490.3 MB, free: 6.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.3433, allocations: 37.7 kB / 490.4 MB, free: 6.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005027/0.3439, allocations: 391.3 kB / 490.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004933/0.3444, allocations: 256.3 kB / 491 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005514/0.3449, allocations: 150.6 kB / 491.2 MB, free: 5.633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003165/0.3453, allocations: 378.8 kB / 491.5 MB, free: 5.254 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/0.3472, allocations: 0.4899 MB / 492 MB, free: 4.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/0.3493, allocations: 0.6872 MB / 492.7 MB, free: 4.004 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004144/0.3535, allocations: 1.216 MB / 493.9 MB, free: 2.715 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-05/0.3536, allocations: 7.938 kB / 493.9 MB, free: 2.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.008846/0.3624, allocations: 1.978 MB / 495.9 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.265e-05/0.3625, allocations: 8 kB / 495.9 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007786/0.3704, allocations: 1.722 MB / 497.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003486/0.3739, allocations: 0.6559 MB / 498.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.3753, allocations: 151.8 kB / 498.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02221/0.3975, allocations: 7.413 MB / 0.494 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.3991, allocations: 79.84 kB / 0.4941 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/0.3994, allocations: 24 kB / 0.4941 GB, free: 6.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.001284/0.4007, allocations: 323.3 kB / 0.4944 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004472/0.4012, allocations: 63.25 kB / 0.4945 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004391/0.4056, allocations: 1.293 MB / 0.4957 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.445e-05/0.4056, allocations: 12 kB / 0.4957 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.4057, allocations: 4 kB / 0.4958 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.4057, allocations: 3.984 kB / 0.4958 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008348/0.4141, allocations: 2.406 MB / 0.4981 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.4141, allocations: 3.938 kB / 0.4981 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003992/0.4181, allocations: 499.4 kB / 0.4986 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.4184, allocations: 44.91 kB / 0.4986 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001858/0.4186, allocations: 19.98 kB / 0.4986 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.4209, allocations: 1.63 MB / 0.5002 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.421, allocations: 7.969 kB / 0.5002 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005731/0.4267, allocations: 2.004 MB / 0.5022 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.4272, allocations: 140.2 kB / 0.5023 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002528/0.4275, allocations: 16 kB / 0.5024 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009434/0.4284, allocations: 55.92 kB / 0.5024 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003081/0.4288, allocations: 64.47 kB / 0.5025 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.102e-05/0.4289, allocations: 19.98 kB / 0.5025 GB, free: 13.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007178/0.4296, allocations: 318.8 kB / 0.5028 GB, free: 13.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4296, allocations: 0 / 0.5028 GB, free: 13.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001915/0.4316, allocations: 236 kB / 0.503 GB, free: 12.88 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004395/0.432, allocations: 131.1 kB / 0.5031 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006003/0.4381, allocations: 1.844 MB / 0.5049 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.4381, allocations: 0 / 0.5049 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003878/0.442, allocations: 0.9939 MB / 0.5059 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.444, allocations: 163.7 kB / 0.5061 GB, free: 9.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008118/0.4521, allocations: 2.703 MB / 0.5087 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/0.4536, allocations: 1.071 MB / 0.5098 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/0.4542, allocations: 55.42 kB / 0.5098 GB, free: 5.793 MB / 398.1 MB Notification: Performance of SimCode: time 1.774e-06/0.4542, allocations: 4 kB / 0.5098 GB, free: 5.789 MB / 398.1 MB Notification: Performance of Templates: time 0.4962/0.9505, allocations: 20.16 MB / 0.5295 GB, free: 65.86 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)