Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 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.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_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.0013/0.0013, allocations: 85.98 kB / 16.31 MB, free: 6.457 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.001281/0.001282, allocations: 180.6 kB / 17.21 MB, free: 6.328 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.431/1.431, allocations: 223.3 MB / 241.2 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3417/0.3417, allocations: 38.08 MB / 330.4 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003465, allocations: 12 kB / 400.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2937, allocations: 59.15 MB / 459.3 MB, free: 30.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.009756/0.3035, allocations: 6.963 MB / 466.3 MB, free: 25.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005411/0.309, allocations: 2.314 MB / 468.6 MB, free: 23.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008943/0.3099, allocations: 52.88 kB / 468.7 MB, free: 23.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007032/0.3106, allocations: 181.2 kB / 468.8 MB, free: 23.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.3128, allocations: 0.5617 MB / 469.4 MB, free: 23.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.3142, allocations: 345.7 kB / 469.7 MB, free: 23.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00244/0.3167, allocations: 1.472 MB / 471.2 MB, free: 22.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.3181, allocations: 0.8497 MB / 472.1 MB, free: 22.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009266/0.3191, allocations: 439.5 kB / 472.5 MB, free: 22.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.3203, allocations: 0.6599 MB / 473.1 MB, free: 21.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.3205, allocations: 45.97 kB / 473.2 MB, free: 21.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.3217, allocations: 472.8 kB / 473.6 MB, free: 21.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006008/0.3223, allocations: 416.2 kB / 474.1 MB, free: 21.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002696/0.3226, allocations: 192.7 kB / 474.2 MB, free: 21.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.3239, allocations: 1.098 MB / 475.3 MB, free: 21.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3239, allocations: 0 / 475.3 MB, free: 21.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.324, allocations: 1.375 kB / 475.3 MB, free: 21.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.324, allocations: 0 / 475.3 MB, free: 21.03 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002223/0.3262, allocations: 1.209 MB / 476.6 MB, free: 20.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.3263, allocations: 9.969 kB / 476.6 MB, free: 20.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001991/0.3265, allocations: 137.5 kB / 476.7 MB, free: 20.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007734/0.3273, allocations: 154.5 kB / 476.8 MB, free: 19.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.3284, allocations: 0.6387 MB / 477.5 MB, free: 19.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.3286, allocations: 180.7 kB / 477.7 MB, free: 19.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.3288, allocations: 90.89 kB / 477.7 MB, free: 19.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.3309, allocations: 1.376 MB / 479.1 MB, free: 18.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.3309, allocations: 2.031 kB / 479.1 MB, free: 18.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.541e-05/0.331, allocations: 40.09 kB / 479.2 MB, free: 18.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.3311, allocations: 70.34 kB / 479.2 MB, free: 18.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.3334, allocations: 1.341 MB / 480.6 MB, free: 17.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005693/0.3391, allocations: 4.972 MB / 485.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.3409, allocations: 1.213 MB / 486.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008849/0.3418, allocations: 0.6487 MB / 487.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.797e-05/0.3419, allocations: 8.547 kB / 487.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.3419, allocations: 39.12 kB / 487.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.685e-06/0.3419, allocations: 0 / 487.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004849/0.3468, allocations: 3.3 MB / 490.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.3468, allocations: 85.67 kB / 490.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/0.3472, allocations: 461.9 kB / 491.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.3473, allocations: 41.7 kB / 491.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.3475, allocations: 391.3 kB / 491.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.3476, allocations: 260.3 kB / 492 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.3477, allocations: 16 kB / 492 MB, free: 6.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.3477, allocations: 374.7 kB / 492.4 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007198/0.3485, allocations: 0.5134 MB / 492.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007831/0.3492, allocations: 0.7106 MB / 493.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008149/0.3501, allocations: 0.5849 MB / 494.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3501, allocations: 0 / 494.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003569/0.3537, allocations: 2.122 MB / 496.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.3537, allocations: 11.94 kB / 496.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00316/0.3569, allocations: 1.867 MB / 498.2 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/0.3585, allocations: 0.7003 MB / 498.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/0.3592, allocations: 151.8 kB / 499 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.3709, allocations: 7.085 MB / 0.4942 GB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008471/0.3717, allocations: 83.91 kB / 0.4943 GB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.3719, allocations: 35.92 kB / 0.4943 GB, free: 8.137 MB / 366.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 (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%) 2} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007066/0.3726, allocations: 317.5 kB / 0.4947 GB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.3727, allocations: 59.25 kB / 0.4947 GB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.3752, allocations: 1.352 MB / 0.496 GB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/0.3752, allocations: 16 kB / 0.496 GB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3752, allocations: 0 / 0.496 GB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.3752, allocations: 3.984 kB / 0.496 GB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004116/0.3794, allocations: 2.457 MB / 0.4984 GB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3794, allocations: 4.031 kB / 0.4984 GB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/0.3819, allocations: 0.6399 MB / 0.4991 GB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.382, allocations: 36.84 kB / 0.4991 GB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.199e-05/0.3821, allocations: 15.95 kB / 0.4991 GB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.3834, allocations: 1.459 MB / 0.5005 GB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3834, allocations: 0 / 0.5005 GB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003319/0.3868, allocations: 2.086 MB / 0.5026 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.3871, allocations: 140.3 kB / 0.5027 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.3872, allocations: 12 kB / 0.5027 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005532/0.3878, allocations: 71.86 kB / 0.5028 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.3879, allocations: 72.41 kB / 0.5029 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/0.388, allocations: 20 kB / 0.5029 GB, free: 15.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004026/0.3884, allocations: 314.9 kB / 0.5032 GB, free: 14.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3884, allocations: 0 / 0.5032 GB, free: 14.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00104/0.3895, allocations: 232 kB / 0.5034 GB, free: 14.52 MB / 382.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 (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.003809/0.3933, allocations: 2.65 MB / 0.506 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002776/0.3961, allocations: 1.598 MB / 0.5076 GB, free: 10.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3961, allocations: 4 kB / 0.5076 GB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002493/0.3986, allocations: 1.146 MB / 0.5087 GB, free: 9.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008861/0.3995, allocations: 155.8 kB / 0.5088 GB, free: 8.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.4113, allocations: 6.896 MB / 0.5156 GB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/0.4121, allocations: 1.075 MB / 0.5166 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006735/0.4128, allocations: 209.5 kB / 0.5168 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000466/0.4133, allocations: 283.3 kB / 0.5171 GB, free: 224 kB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4133, allocations: 0 / 0.5171 GB, free: 224 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.4508, allocations: 18.94 MB / 0.5356 GB, free: 13.52 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.4511, allocations: 220.2 kB / 0.5358 GB, free: 13.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.637, allocations: 3.938 kB / 0.5358 GB, free: 13.28 MB / 414.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat does not exist to compare? outputFormat=mat