Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 116 kB / 17.69 MB, free: 5.086 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.00106/0.00106, allocations: 192 kB / 18.63 MB, free: 4.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1818/0.1818, allocations: 37.99 MB / 309.8 MB, free: 5.977 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.91 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2878, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.006886/0.2948, allocations: 6.249 MB / 438.3 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.2976, allocations: 1.462 MB / 439.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.298, allocations: 27.88 kB / 439.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005499/0.2986, allocations: 138.9 kB / 439.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008487/0.2995, allocations: 413.9 kB / 440.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.3, allocations: 191.7 kB / 440.5 MB, free: 11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009352/0.3009, allocations: 1.09 MB / 441.6 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004388/0.3014, allocations: 348.6 kB / 441.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005029/0.3019, allocations: 466.2 kB / 442.4 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007013/0.3026, allocations: 0.5257 MB / 442.9 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.857e-05/0.3027, allocations: 64 kB / 443 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.3028, allocations: 67.94 kB / 443 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.303, allocations: 311.3 kB / 443.3 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003166/0.3034, allocations: 358.4 kB / 443.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006292/0.304, allocations: 0.845 MB / 444.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.304, allocations: 4 kB / 444.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.304, allocations: 0 / 444.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.304, allocations: 4 kB / 444.5 MB, free: 6.934 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001855/0.3059, allocations: 0.9996 MB / 445.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.306, allocations: 11.89 kB / 445.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.3061, allocations: 72.09 kB / 445.6 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009685/0.3071, allocations: 0.5808 MB / 446.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.3072, allocations: 128.8 kB / 446.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/0.3073, allocations: 52 kB / 446.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.3084, allocations: 0.7732 MB / 447.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.3084, allocations: 0 / 447.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/0.3084, allocations: 23.98 kB / 447.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.3086, allocations: 32.98 kB / 447.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.3097, allocations: 0.7298 MB / 447.9 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.3129, allocations: 2.604 MB / 450.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.3143, allocations: 0.8048 MB / 451.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006796/0.315, allocations: 407.3 kB / 451.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.577e-05/0.3151, allocations: 8.438 kB / 451.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.3151, allocations: 35 kB / 451.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 2.785e-06/0.3152, allocations: 0 / 451.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.004588/0.3198, allocations: 2.135 MB / 453.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.884e-05/0.3199, allocations: 85.53 kB / 454 MB, free: 13.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005316/0.3204, allocations: 401.9 kB / 454.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.3205, allocations: 29.7 kB / 454.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.3207, allocations: 292.4 kB / 454.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.3208, allocations: 177.4 kB / 454.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.321, allocations: 102.3 kB / 455 MB, free: 12.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3211, allocations: 358.8 kB / 455.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.3216, allocations: 276.9 kB / 455.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005722/0.3222, allocations: 377.1 kB / 456 MB, free: 11.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.3233, allocations: 0.6537 MB / 456.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3233, allocations: 0 / 456.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001556/0.3249, allocations: 0.8759 MB / 457.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.3249, allocations: 4 kB / 457.5 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.3249, allocations: 4 kB / 457.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.3252, allocations: 81.59 kB / 457.6 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.3267, allocations: 311.7 kB / 457.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006135/0.3328, allocations: 6.524 MB / 464.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/0.3334, allocations: 43.95 kB / 464.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.3335, allocations: 24.11 kB / 464.5 MB, free: 1.859 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004132/0.3339, allocations: 237.7 kB / 464.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-05/0.334, allocations: 43.44 kB / 464.8 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.3355, allocations: 0.8281 MB / 465.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3355, allocations: 8 kB / 465.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3355, allocations: 0 / 465.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3355, allocations: 3.984 kB / 465.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.3385, allocations: 1.685 MB / 467.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.3385, allocations: 4 kB / 467.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/0.34, allocations: 327.7 kB / 467.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002777/0.3403, allocations: 85.62 kB / 467.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.3404, allocations: 15.94 kB / 467.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002695/0.3431, allocations: 3.165 MB / 470.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3431, allocations: 0 / 470.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.3452, allocations: 1.318 MB / 472.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.3454, allocations: 120.6 kB / 472.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.136e-05/0.3455, allocations: 19.94 kB / 472.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.3459, allocations: 35.95 kB / 472.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.346, allocations: 51.94 kB / 472.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.3461, allocations: 8 kB / 472.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003341/0.3464, allocations: 283.1 kB / 472.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3464, allocations: 0 / 472.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007181/0.3471, allocations: 152 kB / 472.9 MB, free: 8.992 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(1,1,100.0%), (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.0001738/0.3473, allocations: 107.1 kB / 473 MB, free: 8.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002575/0.3499, allocations: 1.093 MB / 474 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.3499, allocations: 0 / 474 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.3518, allocations: 0.7904 MB / 474.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007729/0.3526, allocations: 145.4 kB / 475 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.3556, allocations: 1.595 MB / 476.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/0.3562, allocations: 0.9447 MB / 477.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003653/0.3566, allocations: 128.7 kB / 477.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.3567, allocations: 51.42 kB / 477.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3567, allocations: 0 / 477.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of Templates: time 0.0141/0.3708, allocations: 7.812 MB / 485.5 MB, free: 12.21 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1)