Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007885/0.0007887, allocations: 93.83 kB / 16.65 MB, free: 6.598 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.000858/0.0008581, allocations: 179 kB / 17.56 MB, free: 6.199 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.378/1.378, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1681/0.1681, allocations: 38.06 MB / 310.1 MB, free: 5.914 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.0005262/0.0005264, allocations: 16 kB / 377.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2498, allocations: 56.33 MB / 433.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.006161/0.256, allocations: 7.078 MB / 440.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003929/0.26, allocations: 2.404 MB / 443.1 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005192/0.2605, allocations: 39.75 kB / 443.1 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005322/0.2611, allocations: 139 kB / 443.3 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.2622, allocations: 0.5175 MB / 443.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006579/0.2628, allocations: 319.5 kB / 444.1 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.264, allocations: 1.844 MB / 445.9 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.2652, allocations: 0.9431 MB / 446.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005457/0.2658, allocations: 438.1 kB / 447.3 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007861/0.2666, allocations: 0.7049 MB / 448 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.666e-05/0.2667, allocations: 52 kB / 448.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009038/0.2676, allocations: 0.6005 MB / 448.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003264/0.2679, allocations: 422.8 kB / 449.1 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004152/0.2683, allocations: 487.4 kB / 449.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.2693, allocations: 1.445 MB / 451 MB, free: 1.141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2694, allocations: 0 / 451 MB, free: 1.141 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2694, allocations: 0 / 451 MB, free: 1.141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.2694, allocations: 0 / 451 MB, free: 1.141 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002253/0.2716, allocations: 1.235 MB / 452.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.2717, allocations: 8.031 kB / 452.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.2719, allocations: 143.8 kB / 452.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000686/0.2726, allocations: 135.8 kB / 452.5 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.2737, allocations: 0.6686 MB / 453.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.2739, allocations: 179.4 kB / 453.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.2741, allocations: 87.97 kB / 453.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.2762, allocations: 1.43 MB / 454.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.2763, allocations: 0 / 454.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.2764, allocations: 35.98 kB / 454.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002205/0.2766, allocations: 77.95 kB / 455 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002622/0.2792, allocations: 1.577 MB / 456.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006528/0.2858, allocations: 4.451 MB / 461 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/0.2882, allocations: 1.259 MB / 462.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.2896, allocations: 0.8086 MB / 463.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.731e-05/0.2896, allocations: 12.64 kB / 463.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.2897, allocations: 39.22 kB / 463.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of pre-optimization done (n=101): time 4.218e-06/0.2897, allocations: 0 / 463.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=102): time 0.006831/0.2965, allocations: 3.979 MB / 467.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.2966, allocations: 86.11 kB / 467.2 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.2971, allocations: 405.8 kB / 467.6 MB, free: 108 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/0.2971, allocations: 41.73 kB / 467.6 MB, free: 60 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.2974, allocations: 348.2 kB / 468 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.2977, allocations: 346.9 kB / 468.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.2978, allocations: 85.61 kB / 468.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.298, allocations: 378.8 kB / 468.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.299, allocations: 0.6149 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.3002, allocations: 0.7698 MB / 470.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/0.3025, allocations: 1.445 MB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3025, allocations: 0 / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002712/0.3052, allocations: 1.65 MB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3053, allocations: 11.94 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.3053, allocations: 7.984 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/0.3055, allocations: 36.84 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/0.3081, allocations: 0.6283 MB / 473.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006475/0.3146, allocations: 6.407 MB / 480.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008034/0.3154, allocations: 92 kB / 480.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/0.3155, allocations: 35.97 kB / 480.4 MB, free: 2.551 MB / 350.1 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 (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0005266/0.316, allocations: 309.5 kB / 480.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.3162, allocations: 79.08 kB / 480.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.3191, allocations: 1.635 MB / 482.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-05/0.3192, allocations: 23.98 kB / 482.5 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.3192, allocations: 4 kB / 482.5 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.3192, allocations: 3.984 kB / 482.5 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004601/0.3238, allocations: 2.923 MB / 485.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.3239, allocations: 4 kB / 485.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002983/0.3269, allocations: 0.683 MB / 486.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.327, allocations: 40.78 kB / 486.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.351e-05/0.3271, allocations: 27.98 kB / 486.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.3281, allocations: 1.474 MB / 487.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3282, allocations: 4.031 kB / 487.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00398/0.3321, allocations: 2.612 MB / 490.3 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.3323, allocations: 132.3 kB / 490.4 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.3325, allocations: 23.98 kB / 490.4 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006545/0.3331, allocations: 91.97 kB / 490.5 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.3333, allocations: 76.42 kB / 490.6 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/0.3334, allocations: 27.98 kB / 490.6 MB, free: 8.027 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003085/0.3337, allocations: 279.1 kB / 490.9 MB, free: 7.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3337, allocations: 0 / 490.9 MB, free: 7.754 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009078/0.3346, allocations: 239.9 kB / 491.1 MB, free: 7.52 MB / 366.1 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 (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.004382/0.339, allocations: 3.216 MB / 494.3 MB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004337/0.3434, allocations: 2.009 MB / 496.3 MB, free: 2.207 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3434, allocations: 0 / 496.3 MB, free: 2.207 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003059/0.3465, allocations: 1.346 MB / 497.7 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.3475, allocations: 154.3 kB / 497.8 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/0.3632, allocations: 9.83 MB / 0.4958 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009383/0.3641, allocations: 1.08 MB / 0.4968 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008675/0.365, allocations: 277.5 kB / 0.4971 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/0.3656, allocations: 287.3 kB / 0.4974 GB, free: 4.949 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3656, allocations: 0 / 0.4974 GB, free: 4.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.3975, allocations: 16.64 MB / 0.5136 GB, free: 4.344 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.3978, allocations: 226.4 kB / 0.5138 GB, free: 4.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/2.556, allocations: 0 / 0.5138 GB, free: 4.09 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)