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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001258/0.001258, allocations: 182.4 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.534/1.534, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001751/0.001752, allocations: 116.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1571/0.1571, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.258e-05/4.297e-05, allocations: 4 kB / 397.6 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2865, allocations: 53.21 MB / 450.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5547/0.8413, allocations: 105 MB / 0.5428 GB, free: 28.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003926/0.8417, allocations: 94.38 kB / 0.5429 GB, free: 28.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06669/0.9085, allocations: 23.3 MB / 0.5657 GB, free: 25.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.9085, allocations: 0 / 0.5657 GB, free: 25.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.596e-05/0.9086, allocations: 19.47 kB / 0.5657 GB, free: 25.18 MB / 378.7 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.002549/0.9111, allocations: 1.174 MB / 0.5668 GB, free: 24.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.9112, allocations: 11.78 kB / 0.5668 GB, free: 24.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002133/0.9114, allocations: 148 kB / 0.567 GB, free: 24.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000746/0.9122, allocations: 155.8 kB / 0.5671 GB, free: 24.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/0.9153, allocations: 1.24 MB / 0.5683 GB, free: 23.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002688/0.9156, allocations: 176 kB / 0.5685 GB, free: 23.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.9158, allocations: 87.05 kB / 0.5686 GB, free: 23.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.9177, allocations: 1.269 MB / 0.5698 GB, free: 23.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/0.9178, allocations: 7.688 kB / 0.5698 GB, free: 23.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.9179, allocations: 35.84 kB / 0.5699 GB, free: 23.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.811e-05/0.918, allocations: 55.81 kB / 0.5699 GB, free: 23.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.9199, allocations: 1.139 MB / 0.571 GB, free: 23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006793/0.9267, allocations: 4.945 MB / 0.5759 GB, free: 20.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.9281, allocations: 0.9708 MB / 0.5768 GB, free: 19.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008664/0.929, allocations: 0.5651 MB / 0.5774 GB, free: 19.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.538e-05/0.9291, allocations: 11.67 kB / 0.5774 GB, free: 19.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.9291, allocations: 42.34 kB / 0.5774 GB, free: 19.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 4.227e-06/0.9291, allocations: 0 / 0.5774 GB, free: 19.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.003929/0.9331, allocations: 2.379 MB / 0.5797 GB, free: 18.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.9331, allocations: 85.33 kB / 0.5798 GB, free: 18.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000464/0.9336, allocations: 408.9 kB / 0.5802 GB, free: 18.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.9337, allocations: 36.73 kB / 0.5802 GB, free: 18.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.9339, allocations: 401.6 kB / 0.5806 GB, free: 18.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.9341, allocations: 265.8 kB / 0.5809 GB, free: 18.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.9341, allocations: 14.19 kB / 0.5809 GB, free: 18.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.9343, allocations: 375.3 kB / 0.5813 GB, free: 17.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000577/0.9349, allocations: 452.6 kB / 0.5817 GB, free: 17.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006982/0.9356, allocations: 0.6225 MB / 0.5823 GB, free: 17.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006761/0.9363, allocations: 0.511 MB / 0.5828 GB, free: 17.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.9363, allocations: 7.875 kB / 0.5828 GB, free: 17.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003347/0.9396, allocations: 1.872 MB / 0.5846 GB, free: 16.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.9397, allocations: 7.719 kB / 0.5846 GB, free: 16.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002864/0.9426, allocations: 1.62 MB / 0.5862 GB, free: 16.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.9438, allocations: 0.537 MB / 0.5867 GB, free: 16.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/0.9444, allocations: 155.2 kB / 0.5869 GB, free: 16.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007409/0.9518, allocations: 6.212 MB / 0.593 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008355/0.9527, allocations: 85.42 kB / 0.593 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.25e-05/0.9528, allocations: 34.67 kB / 0.5931 GB, free: 12.76 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 72 * Array equations: 2 * 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.0002085/0.953, allocations: 153.9 kB / 0.5932 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.9533, allocations: 62.31 kB / 0.5933 GB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.9555, allocations: 1.16 MB / 0.5944 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.338e-05/0.9555, allocations: 20.48 kB / 0.5944 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.9555, allocations: 4 kB / 0.5944 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.9556, allocations: 7.859 kB / 0.5944 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004636/0.9602, allocations: 2.325 MB / 0.5967 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.9602, allocations: 0 / 0.5967 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00279/0.963, allocations: 0.6376 MB / 0.5973 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.9631, allocations: 30.78 kB / 0.5974 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.139e-05/0.9632, allocations: 16.19 kB / 0.5974 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009465/0.9642, allocations: 1.388 MB / 0.5987 GB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9642, allocations: 3.938 kB / 0.5987 GB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/0.967, allocations: 1.887 MB / 0.6006 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.9672, allocations: 135.2 kB / 0.6007 GB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.9674, allocations: 14.97 kB / 0.6007 GB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006249/0.968, allocations: 85.8 kB / 0.6008 GB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.9682, allocations: 55.69 kB / 0.6009 GB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.9683, allocations: 23.48 kB / 0.6009 GB, free: 8.727 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004225/0.9687, allocations: 310.6 kB / 0.6012 GB, free: 8.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9687, allocations: 4 kB / 0.6012 GB, free: 8.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001296/0.97, allocations: 252 kB / 0.6014 GB, free: 8.512 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 2 * 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.003363/0.9734, allocations: 2.77 MB / 0.6041 GB, free: 6.551 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002497/0.9759, allocations: 1.433 MB / 0.6055 GB, free: 5.508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.9759, allocations: 0 / 0.6055 GB, free: 5.508 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002432/0.9784, allocations: 1.08 MB / 0.6066 GB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000828/0.9792, allocations: 145.2 kB / 0.6067 GB, free: 4.281 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/0.9841, allocations: 2.152 MB / 0.6088 GB, free: 2.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008773/0.985, allocations: 1.091 MB / 0.6099 GB, free: 0.957 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006763/0.9856, allocations: 209.5 kB / 0.6101 GB, free: 0.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/0.9862, allocations: 287.3 kB / 0.6104 GB, free: 480 kB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.9862, allocations: 0 / 0.6104 GB, free: 480 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05208/1.038, allocations: 19.04 MB / 0.629 GB, free: 13.41 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/1.039, allocations: 178.3 kB / 0.6291 GB, free: 13.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.855/3.894, allocations: 0 / 0.6291 GB, free: 13.18 MB / 410.7 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)