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 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.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_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.0008881/0.0008882, allocations: 87.17 kB / 16.65 MB, free: 6.535 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.001104/0.001104, allocations: 176.8 kB / 17.56 MB, free: 6.18 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.42/1.42, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1714/0.1714, allocations: 38.06 MB / 310.1 MB, free: 5.918 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.0005188/0.0005189, allocations: 16 kB / 377.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2591, allocations: 56.33 MB / 433.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.006028/0.2651, allocations: 7.362 MB / 441 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003185/0.2684, allocations: 2.49 MB / 443.5 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003561/0.2687, allocations: 39.75 kB / 443.5 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004512/0.2692, allocations: 155 kB / 443.6 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008553/0.2701, allocations: 0.5097 MB / 444.2 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.2707, allocations: 323.5 kB / 444.5 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.2718, allocations: 1.836 MB / 446.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.2728, allocations: 0.9549 MB / 447.3 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004208/0.2733, allocations: 442.1 kB / 447.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006344/0.2739, allocations: 0.662 MB / 448.4 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.873e-05/0.274, allocations: 44 kB / 448.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006496/0.2747, allocations: 0.5031 MB / 448.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.2749, allocations: 410.9 kB / 449.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003312/0.2753, allocations: 487.3 kB / 449.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008449/0.2761, allocations: 1.382 MB / 451.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2761, allocations: 0 / 451.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2762, allocations: 0 / 451.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.2762, allocations: 0 / 451.2 MB, free: 0.9766 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002153/0.2783, allocations: 1.196 MB / 452.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2784, allocations: 12.03 kB / 452.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001886/0.2786, allocations: 143.7 kB / 452.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007127/0.2793, allocations: 139.8 kB / 452.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.2804, allocations: 0.6554 MB / 453.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.2806, allocations: 183.4 kB / 453.5 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.2808, allocations: 91.92 kB / 453.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.283, allocations: 1.378 MB / 454.9 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.283, allocations: 7.938 kB / 455 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.753e-05/0.2831, allocations: 32 kB / 455 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.2833, allocations: 65.97 kB / 455 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.2857, allocations: 1.347 MB / 456.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006852/0.2925, allocations: 4.97 MB / 461.4 MB, free: 6.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/0.2949, allocations: 1.227 MB / 462.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.296, allocations: 0.6475 MB / 463.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-05/0.2961, allocations: 20.53 kB / 463.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.2962, allocations: 43.06 kB / 463.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.026e-06/0.2962, allocations: 0 / 463.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.006109/0.3023, allocations: 3.3 MB / 466.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.3024, allocations: 85.67 kB / 466.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005156/0.3029, allocations: 469.8 kB / 467.1 MB, free: 476 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/0.303, allocations: 37.7 kB / 467.2 MB, free: 432 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.3032, allocations: 399.2 kB / 467.6 MB, free: 24 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.3035, allocations: 252.5 kB / 467.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.3036, allocations: 81.66 kB / 467.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3038, allocations: 374.8 kB / 468.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009364/0.3047, allocations: 0.5173 MB / 468.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.3058, allocations: 0.7067 MB / 469.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/0.3078, allocations: 1.275 MB / 470.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3079, allocations: 4 kB / 470.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004504/0.3124, allocations: 2.122 MB / 472.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.3124, allocations: 12.47 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003987/0.3164, allocations: 1.863 MB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/0.3183, allocations: 0.7045 MB / 475.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/0.3188, allocations: 155.8 kB / 475.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.3301, allocations: 7.071 MB / 482.7 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007699/0.3309, allocations: 83.91 kB / 482.8 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.537e-05/0.3309, allocations: 35.98 kB / 482.8 MB, free: 288 kB / 350.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.0005535/0.3315, allocations: 321.5 kB / 483.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.3317, allocations: 63.25 kB / 483.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.3341, allocations: 1.352 MB / 484.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/0.3342, allocations: 15.98 kB / 484.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3342, allocations: 3.938 kB / 484.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3342, allocations: 0 / 484.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004086/0.3383, allocations: 2.457 MB / 487 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3383, allocations: 4.125 kB / 487 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002777/0.3411, allocations: 0.6399 MB / 487.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.3412, allocations: 40.83 kB / 487.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.844e-05/0.3413, allocations: 15.98 kB / 487.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.3424, allocations: 1.459 MB / 489.2 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3424, allocations: 0 / 489.2 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/0.3458, allocations: 2.094 MB / 491.3 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.346, allocations: 132.3 kB / 491.4 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.788e-05/0.3461, allocations: 12 kB / 491.4 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005283/0.3467, allocations: 75.98 kB / 491.5 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.3468, allocations: 76.33 kB / 491.6 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.3469, allocations: 16 kB / 491.6 MB, free: 7.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003842/0.3473, allocations: 318.9 kB / 491.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3473, allocations: 0 / 491.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000987/0.3483, allocations: 232 kB / 492.1 MB, free: 6.645 MB / 366.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.003782/0.3521, allocations: 2.662 MB / 494.8 MB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002801/0.3549, allocations: 1.598 MB / 496.4 MB, free: 2.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3549, allocations: 0 / 496.4 MB, free: 2.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002785/0.3577, allocations: 1.154 MB / 497.5 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009147/0.3586, allocations: 157.5 kB / 497.7 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/0.3753, allocations: 10.34 MB / 0.4961 GB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007233/0.3761, allocations: 1.075 MB / 0.4972 GB, free: 5.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006043/0.3767, allocations: 213.5 kB / 0.4974 GB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/0.3771, allocations: 287.3 kB / 0.4976 GB, free: 4.734 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3771, allocations: 0 / 0.4976 GB, free: 4.734 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.4104, allocations: 18.81 MB / 0.516 GB, free: 1.945 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.4106, allocations: 231.6 kB / 0.5162 GB, free: 1.688 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/2.492, allocations: 0 / 0.5162 GB, free: 1.688 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)