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.000926/0.0009261, allocations: 97.11 kB / 16.3 MB, free: 5.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.0009028/0.0009029, allocations: 179.6 kB / 17.19 MB, free: 5.535 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.346/1.346, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.175/0.175, allocations: 38.04 MB / 309.7 MB, free: 6.133 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.0005257/0.000526, allocations: 16 kB / 376.6 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2644, allocations: 56.33 MB / 432.9 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.005469/0.2699, allocations: 6.656 MB / 439.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.2735, allocations: 2.386 MB / 442 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/0.274, allocations: 43.69 kB / 442 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004953/0.2745, allocations: 171 kB / 442.2 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.2756, allocations: 486.5 kB / 442.6 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008411/0.2765, allocations: 339.3 kB / 443 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006217/0.2771, allocations: 0.6753 MB / 443.6 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.2781, allocations: 0.8439 MB / 444.5 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.2786, allocations: 386.7 kB / 444.9 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000554/0.2792, allocations: 498.6 kB / 445.4 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.989e-05/0.2793, allocations: 44 kB / 445.4 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006504/0.2799, allocations: 443.3 kB / 445.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.2802, allocations: 375.1 kB / 446.2 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.2804, allocations: 193.2 kB / 446.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007915/0.2812, allocations: 1.107 MB / 447.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2812, allocations: 0 / 447.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2812, allocations: 3.938 kB / 447.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.2812, allocations: 0 / 447.5 MB, free: 4.148 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.002328/0.2835, allocations: 1.2 MB / 448.7 MB, free: 2.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.2836, allocations: 12.03 kB / 448.7 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.2837, allocations: 151.4 kB / 448.9 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007362/0.2845, allocations: 146.8 kB / 449 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.2856, allocations: 0.6388 MB / 449.6 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.2858, allocations: 179.1 kB / 449.8 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.286, allocations: 95.84 kB / 449.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.2877, allocations: 1.37 MB / 451.3 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.2877, allocations: 7.938 kB / 451.3 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.2878, allocations: 39.92 kB / 451.3 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001296/0.288, allocations: 65.97 kB / 451.4 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.2903, allocations: 1.327 MB / 452.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007486/0.2978, allocations: 4.963 MB / 457.7 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.3004, allocations: 1.207 MB / 458.9 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.6e-05/0.3005, allocations: 24.55 kB / 458.9 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.3005, allocations: 39.12 kB / 458.9 MB, free: 8.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.527e-06/0.3005, allocations: 0 / 458.9 MB, free: 8.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.00629/0.3068, allocations: 3.349 MB / 462.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.3069, allocations: 85.67 kB / 462.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000489/0.3074, allocations: 465.8 kB / 462.8 MB, free: 4.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.3075, allocations: 33.7 kB / 462.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.3077, allocations: 399.3 kB / 463.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.3079, allocations: 260.3 kB / 463.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.308, allocations: 8 kB / 463.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3081, allocations: 378.8 kB / 463.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008853/0.309, allocations: 0.525 MB / 464.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.3102, allocations: 0.6989 MB / 465.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.3114, allocations: 0.5887 MB / 465.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/0.3114, allocations: 7.953 kB / 465.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004493/0.3159, allocations: 2.1 MB / 467.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.316, allocations: 8.062 kB / 467.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003849/0.3198, allocations: 1.847 MB / 469.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001799/0.3216, allocations: 0.693 MB / 470.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006212/0.3223, allocations: 151.8 kB / 470.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.3337, allocations: 7.256 MB / 477.8 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007761/0.3345, allocations: 87.86 kB / 477.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/0.3346, allocations: 31.98 kB / 477.9 MB, free: 4.785 MB / 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 (77): * Single equations (assignments): 74 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005091/0.3351, allocations: 313.5 kB / 478.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.3353, allocations: 59.25 kB / 478.2 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/0.3376, allocations: 1.328 MB / 479.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/0.3376, allocations: 19.98 kB / 479.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3376, allocations: 3.953 kB / 479.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.3377, allocations: 0 / 479.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003883/0.3416, allocations: 2.43 MB / 482 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3416, allocations: 0 / 482 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002798/0.3444, allocations: 0.6439 MB / 482.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-05/0.3445, allocations: 20.86 kB / 482.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/0.3446, allocations: 19.98 kB / 482.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.3456, allocations: 1.4 MB / 484.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3456, allocations: 3.953 kB / 484.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/0.3488, allocations: 2.104 MB / 486.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.349, allocations: 132.4 kB / 486.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/0.3491, allocations: 19.98 kB / 486.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005255/0.3496, allocations: 67.92 kB / 486.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.3498, allocations: 68.42 kB / 486.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.3499, allocations: 23.98 kB / 486.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003558/0.3502, allocations: 310.9 kB / 486.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3502, allocations: 0 / 486.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009274/0.3512, allocations: 236 kB / 487.1 MB, free: 11.25 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 (68): * Single equations (assignments): 65 * Array equations: 1 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003631/0.3548, allocations: 2.95 MB / 490 MB, free: 8.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002862/0.3577, allocations: 1.594 MB / 491.6 MB, free: 6.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3577, allocations: 3.938 kB / 491.6 MB, free: 6.602 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002719/0.3604, allocations: 1.15 MB / 492.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007303/0.3612, allocations: 137.8 kB / 492.9 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.3745, allocations: 10.47 MB / 0.4916 GB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/0.3752, allocations: 1.091 MB / 0.4926 GB, free: 9.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006072/0.3758, allocations: 209.5 kB / 0.4928 GB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/0.3762, allocations: 287.3 kB / 0.4931 GB, free: 9.031 MB / 382.1 MB Notification: Performance of SimCode: time 3.085e-06/0.3762, allocations: 0 / 0.4931 GB, free: 9.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03374/0.41, allocations: 18.96 MB / 0.5116 GB, free: 6.109 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.4102, allocations: 206.8 kB / 0.5118 GB, free: 5.871 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.38, allocations: 4.062 kB / 0.5118 GB, free: 5.867 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/linux/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) Environment - environmentSimulation: