Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_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.0007823/0.0007823, allocations: 91.64 kB / 16.32 MB, free: 5.629 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.0008633/0.0008634, allocations: 181.8 kB / 17.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.2 MB / 241.2 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3428/0.3428, allocations: 38.07 MB / 330.4 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.0004506, allocations: 8 kB / 400.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3312, allocations: 59.15 MB / 459.3 MB, free: 30.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008076/0.3393, allocations: 6.702 MB / 466 MB, free: 25.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004356/0.3437, allocations: 2.233 MB / 468.3 MB, free: 24.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005673/0.3443, allocations: 38.06 kB / 468.3 MB, free: 24.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005515/0.3449, allocations: 166.2 kB / 468.5 MB, free: 24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.3463, allocations: 0.5452 MB / 469 MB, free: 23.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009433/0.3473, allocations: 320.3 kB / 469.3 MB, free: 23.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001647/0.349, allocations: 1.477 MB / 470.8 MB, free: 23.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.3504, allocations: 0.8458 MB / 471.6 MB, free: 22.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.3515, allocations: 444.8 kB / 472.1 MB, free: 22.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.3529, allocations: 0.7009 MB / 472.8 MB, free: 22.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.353, allocations: 49.28 kB / 472.8 MB, free: 22.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.3542, allocations: 0.5434 MB / 473.4 MB, free: 22.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004937/0.3547, allocations: 429.8 kB / 473.8 MB, free: 21.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.3549, allocations: 187.5 kB / 474 MB, free: 21.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009699/0.3559, allocations: 1.154 MB / 475.1 MB, free: 21.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3559, allocations: 0 / 475.1 MB, free: 21.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3559, allocations: 0 / 475.1 MB, free: 21.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.3559, allocations: 0 / 475.1 MB, free: 21.2 MB / 350.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.002213/0.3581, allocations: 1.23 MB / 476.3 MB, free: 20.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3582, allocations: 9.719 kB / 476.4 MB, free: 20.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/0.3584, allocations: 142 kB / 476.5 MB, free: 20.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006242/0.359, allocations: 142.5 kB / 476.6 MB, free: 20.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009798/0.36, allocations: 0.6531 MB / 477.3 MB, free: 19.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.3602, allocations: 175.9 kB / 477.5 MB, free: 19.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.3604, allocations: 83 kB / 477.5 MB, free: 19.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.3624, allocations: 1.424 MB / 479 MB, free: 18.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.3625, allocations: 9.422 kB / 479 MB, free: 18.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.651e-05/0.3626, allocations: 35.02 kB / 479 MB, free: 18.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001932/0.3628, allocations: 82.55 kB / 479.1 MB, free: 18.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.3652, allocations: 1.563 MB / 480.7 MB, free: 17.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005629/0.3709, allocations: 4.463 MB / 485.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.3727, allocations: 1.256 MB / 486.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.3738, allocations: 0.8008 MB / 487.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-05/0.3739, allocations: 8.656 kB / 487.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3739, allocations: 51.2 kB / 487.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.476e-06/0.3739, allocations: 0 / 487.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.005605/0.3795, allocations: 3.964 MB / 491.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.3796, allocations: 90.05 kB / 491.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.3799, allocations: 401.8 kB / 491.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/0.38, allocations: 45.69 kB / 491.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.3801, allocations: 340.2 kB / 492.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.3803, allocations: 346.9 kB / 492.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.3804, allocations: 20 kB / 492.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.3805, allocations: 378.8 kB / 492.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008379/0.3813, allocations: 0.6109 MB / 493.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009074/0.3822, allocations: 0.7698 MB / 494.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009235/0.3832, allocations: 0.69 MB / 494.9 MB, free: 3.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3832, allocations: 3.938 kB / 494.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002177/0.3854, allocations: 1.639 MB / 496.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3854, allocations: 16.12 kB / 496.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3854, allocations: 4 kB / 496.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001331/0.3855, allocations: 40.83 kB / 496.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/0.3877, allocations: 0.6204 MB / 497.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005809/0.3936, allocations: 6.415 MB / 0.4918 GB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008234/0.3944, allocations: 95.98 kB / 0.4919 GB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.602e-05/0.3945, allocations: 32 kB / 0.4919 GB, free: 10.5 MB / 366.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 (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.0005477/0.3951, allocations: 321.5 kB / 0.4922 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.3952, allocations: 63.25 kB / 0.4923 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.398, allocations: 1.639 MB / 0.4939 GB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/0.398, allocations: 27.97 kB / 0.4939 GB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.398, allocations: 0 / 0.4939 GB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.3981, allocations: 3.984 kB / 0.4939 GB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004545/0.4026, allocations: 2.92 MB / 0.4968 GB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.4026, allocations: 7.938 kB / 0.4968 GB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002713/0.4054, allocations: 0.679 MB / 0.4974 GB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.4055, allocations: 32.84 kB / 0.4975 GB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.4056, allocations: 23.98 kB / 0.4975 GB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.4067, allocations: 1.471 MB / 0.4989 GB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.4067, allocations: 4.031 kB / 0.4989 GB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003951/0.4107, allocations: 2.612 MB / 0.5015 GB, free: 368 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.4109, allocations: 136.2 kB / 0.5016 GB, free: 212 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.411, allocations: 20 kB / 0.5016 GB, free: 192 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000551/0.4116, allocations: 83.91 kB / 0.5017 GB, free: 108 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.4118, allocations: 76.5 kB / 0.5018 GB, free: 32 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/0.4118, allocations: 27.98 kB / 0.5018 GB, free: 4 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003275/0.4122, allocations: 279.3 kB / 0.5021 GB, free: 15.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4122, allocations: 0 / 0.5021 GB, free: 15.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009319/0.4131, allocations: 236 kB / 0.5023 GB, free: 15.5 MB / 382.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 (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.004349/0.4175, allocations: 3.2 MB / 0.5054 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004078/0.4216, allocations: 2.001 MB / 0.5074 GB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.4216, allocations: 0 / 0.5074 GB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002887/0.4245, allocations: 1.35 MB / 0.5087 GB, free: 8.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000987/0.4255, allocations: 150.1 kB / 0.5088 GB, free: 8.707 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.4368, allocations: 6.857 MB / 0.5155 GB, free: 1.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008436/0.4377, allocations: 1.087 MB / 0.5166 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008783/0.4386, allocations: 265.6 kB / 0.5168 GB, free: 336 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004877/0.4391, allocations: 295.3 kB / 0.5171 GB, free: 40 kB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4391, allocations: 0 / 0.5171 GB, free: 40 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/0.4762, allocations: 16.78 MB / 0.5335 GB, free: 15.51 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.4765, allocations: 218.9 kB / 0.5337 GB, free: 15.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/2.675, allocations: 3.938 kB / 0.5337 GB, free: 15.27 MB / 414.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-05 PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat does not exist to compare? outputFormat=mat