Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009695/0.0009695, allocations: 171.9 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.4 MB / 222.2 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007393/0.0007395, allocations: 92.92 kB / 270.6 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1681/0.1681, allocations: 38.08 MB / 356.9 MB, free: 1.711 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.00032, allocations: 16 kB / 423.3 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2204, allocations: 56.32 MB / 479.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.005928/0.2263, allocations: 6.745 MB / 486.4 MB, free: 4.715 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003385/0.2298, allocations: 2.28 MB / 488.7 MB, free: 3.102 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004863/0.2303, allocations: 41.75 kB / 488.7 MB, free: 3.082 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005037/0.2308, allocations: 157.4 kB / 488.8 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.2321, allocations: 0.5599 MB / 489.4 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009655/0.2331, allocations: 336 kB / 489.7 MB, free: 2.582 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.2349, allocations: 1.474 MB / 491.2 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.2364, allocations: 0.9422 MB / 492.2 MB, free: 1.512 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009014/0.2373, allocations: 441.9 kB / 492.6 MB, free: 1.352 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.2384, allocations: 0.7044 MB / 493.3 MB, free: 1.152 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.2385, allocations: 48.53 kB / 493.3 MB, free: 1.152 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.2397, allocations: 0.5997 MB / 493.9 MB, free: 1.008 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005327/0.2403, allocations: 429.5 kB / 494.4 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006136/0.2409, allocations: 468.2 kB / 494.8 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.2424, allocations: 1.144 MB / 496 MB, free: 416 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2425, allocations: 0 / 496 MB, free: 416 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2425, allocations: 5.031 kB / 496 MB, free: 412 kB / 314.7 MB Notification: Performance of Transformations before backend: time 3.354e-05/0.2425, allocations: 0 / 496 MB, free: 412 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.00294/0.2455, allocations: 1.223 MB / 497.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2455, allocations: 9.844 kB / 497.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007438/0.2463, allocations: 135.8 kB / 497.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.2475, allocations: 0.6688 MB / 498 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002335/0.2477, allocations: 180.6 kB / 498.2 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.248, allocations: 94.31 kB / 498.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.2504, allocations: 1.424 MB / 499.7 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.2505, allocations: 5.312 kB / 499.7 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.2506, allocations: 34.77 kB / 499.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002085/0.2508, allocations: 79.14 kB / 499.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002843/0.2537, allocations: 1.567 MB / 0.4896 GB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007302/0.261, allocations: 4.451 MB / 0.494 GB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.2633, allocations: 1.251 MB / 0.4952 GB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.2647, allocations: 0.8065 MB / 0.496 GB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.307e-05/0.2648, allocations: 12.91 kB / 0.496 GB, free: 9.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.2648, allocations: 43.28 kB / 0.496 GB, free: 9.023 MB / 330.7 MB Notification: Performance of pre-optimization done (n=101): time 3.447e-06/0.2648, allocations: 0 / 0.496 GB, free: 9.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=102): time 0.006888/0.2717, allocations: 3.968 MB / 0.4999 GB, free: 5.688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.2718, allocations: 90.05 kB / 0.5 GB, free: 5.582 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/0.2722, allocations: 401.8 kB / 0.5004 GB, free: 5.184 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/0.2723, allocations: 37.7 kB / 0.5004 GB, free: 5.141 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.2725, allocations: 352.2 kB / 0.5007 GB, free: 4.789 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.2728, allocations: 346.9 kB / 0.5011 GB, free: 4.445 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.2729, allocations: 16 kB / 0.5011 GB, free: 4.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.273, allocations: 378.8 kB / 0.5015 GB, free: 4.051 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.274, allocations: 0.6109 MB / 0.502 GB, free: 3.438 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.2751, allocations: 0.762 MB / 0.5028 GB, free: 2.629 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/0.2773, allocations: 1.438 MB / 0.5042 GB, free: 1.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2773, allocations: 4 kB / 0.5042 GB, free: 1.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00265/0.28, allocations: 1.642 MB / 0.5058 GB, free: 15.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.28, allocations: 8 kB / 0.5058 GB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.28, allocations: 0 / 0.5058 GB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.2802, allocations: 36.84 kB / 0.5058 GB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/0.2827, allocations: 0.6322 MB / 0.5065 GB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005766/0.2885, allocations: 6.407 MB / 0.5127 GB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000859/0.2894, allocations: 91.98 kB / 0.5128 GB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.707e-05/0.2895, allocations: 35.98 kB / 0.5128 GB, free: 7.734 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005501/0.29, allocations: 317.4 kB / 0.5131 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.2902, allocations: 71.17 kB / 0.5132 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.293, allocations: 1.639 MB / 0.5148 GB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.628e-05/0.293, allocations: 31.92 kB / 0.5148 GB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.293, allocations: 4 kB / 0.5148 GB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.293, allocations: 3.984 kB / 0.5149 GB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004551/0.2976, allocations: 2.916 MB / 0.5177 GB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.2976, allocations: 8 kB / 0.5177 GB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00277/0.3004, allocations: 0.6791 MB / 0.5184 GB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.3005, allocations: 36.84 kB / 0.5184 GB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.254e-05/0.3006, allocations: 31.92 kB / 0.5184 GB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.3017, allocations: 1.474 MB / 0.5199 GB, free: 260 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3017, allocations: 0 / 0.5199 GB, free: 260 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003967/0.3056, allocations: 2.612 MB / 0.5224 GB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.3059, allocations: 136.3 kB / 0.5226 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.306, allocations: 23.98 kB / 0.5226 GB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00058/0.3066, allocations: 75.91 kB / 0.5227 GB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.3068, allocations: 84.48 kB / 0.5227 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/0.3068, allocations: 23.98 kB / 0.5228 GB, free: 13.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003023/0.3071, allocations: 275.1 kB / 0.523 GB, free: 12.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3072, allocations: 0 / 0.523 GB, free: 12.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009183/0.3081, allocations: 236 kB / 0.5232 GB, free: 12.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002965/0.3084, allocations: 175 kB / 0.5234 GB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004128/0.3125, allocations: 1.998 MB / 0.5254 GB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3125, allocations: 0 / 0.5254 GB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002846/0.3154, allocations: 1.323 MB / 0.5267 GB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009932/0.3164, allocations: 144 kB / 0.5268 GB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/0.3213, allocations: 3.121 MB / 0.5298 GB, free: 5.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006249/0.3219, allocations: 1.076 MB / 0.5309 GB, free: 4.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/0.3223, allocations: 67.42 kB / 0.531 GB, free: 4.715 MB / 362.7 MB Notification: Performance of SimCode: time 4.5e-07/0.3223, allocations: 0 / 0.531 GB, free: 4.715 MB / 362.7 MB Notification: Performance of Templates: time 0.02615/0.3485, allocations: 23.78 MB / 0.5542 GB, free: 12.89 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)