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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_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.001221/0.001221, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001242/0.001242, allocations: 193.4 kB / 18 MB, free: 5.074 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.375/1.375, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1767/0.1767, allocations: 38.03 MB / 329.9 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 457.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3349, allocations: 58.07 MB / 0.5036 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.006669/0.3416, allocations: 6.766 MB / 0.5102 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003144/0.3448, allocations: 2.139 MB / 0.5123 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/0.3452, allocations: 31.47 kB / 0.5124 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.3466, allocations: 0.5101 MB / 0.5129 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.3477, allocations: 0.5574 MB / 0.5134 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008586/0.3486, allocations: 360 kB / 0.5137 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.35, allocations: 1.301 MB / 0.515 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.3511, allocations: 0.7359 MB / 0.5157 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009548/0.352, allocations: 0.5442 MB / 0.5163 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.3533, allocations: 0.6943 MB / 0.5169 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002183/0.3535, allocations: 100.1 kB / 0.517 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.3548, allocations: 0.5199 MB / 0.5175 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005632/0.3553, allocations: 456.6 kB / 0.518 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006811/0.356, allocations: 0.5175 MB / 0.5185 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002066/0.3581, allocations: 1.468 MB / 0.5199 GB, free: 14.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3581, allocations: 0 / 0.5199 GB, free: 14.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3581, allocations: 0 / 0.5199 GB, free: 14.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.123e-05/0.3582, allocations: 4 kB / 0.5199 GB, free: 14.05 MB / 398.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.003346/0.3615, allocations: 1.373 MB / 0.5213 GB, free: 13.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.3616, allocations: 13.77 kB / 0.5213 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002401/0.3618, allocations: 143.4 kB / 0.5214 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009093/0.3627, allocations: 148.7 kB / 0.5216 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.3641, allocations: 0.69 MB / 0.5222 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.3644, allocations: 180.6 kB / 0.5224 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.3646, allocations: 93.66 kB / 0.5225 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/0.3672, allocations: 1.368 MB / 0.5238 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.3673, allocations: 6.469 kB / 0.5238 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.3674, allocations: 33.31 kB / 0.5239 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/0.3676, allocations: 64.05 kB / 0.5239 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002643/0.3702, allocations: 1.298 MB / 0.5252 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007604/0.3778, allocations: 4.907 MB / 0.53 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.3802, allocations: 1.134 MB / 0.5311 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.3814, allocations: 0.62 MB / 0.5317 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.849e-05/0.3815, allocations: 11.55 kB / 0.5317 GB, free: 7.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.3815, allocations: 49.41 kB / 0.5318 GB, free: 6.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/0.3815, allocations: 1.094 kB / 0.5318 GB, free: 6.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.006578/0.3881, allocations: 3.188 MB / 0.5349 GB, free: 5.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.3882, allocations: 89.33 kB / 0.535 GB, free: 4.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005871/0.3888, allocations: 464.9 kB / 0.5354 GB, free: 4.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/0.3889, allocations: 36.92 kB / 0.5354 GB, free: 4.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/0.3892, allocations: 405.6 kB / 0.5358 GB, free: 4.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.3895, allocations: 265.9 kB / 0.5361 GB, free: 4.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/0.3898, allocations: 160.7 kB / 0.5362 GB, free: 3.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.39, allocations: 380.5 kB / 0.5366 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009802/0.391, allocations: 497.5 kB / 0.5371 GB, free: 3.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.3921, allocations: 0.6896 MB / 0.5377 GB, free: 2.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/0.3942, allocations: 1.223 MB / 0.5389 GB, free: 2.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3942, allocations: 2.469 kB / 0.5389 GB, free: 2.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00447/0.3987, allocations: 1.977 MB / 0.5409 GB, free: 1.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3987, allocations: 11.59 kB / 0.5409 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003984/0.4027, allocations: 1.712 MB / 0.5425 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/0.4047, allocations: 0.6573 MB / 0.5432 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.4053, allocations: 151.8 kB / 0.5433 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01233/0.4176, allocations: 7.41 MB / 0.5506 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008478/0.4185, allocations: 71.91 kB / 0.5506 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/0.4186, allocations: 32.08 kB / 0.5507 GB, free: 7.434 MB / 414.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.0005838/0.4192, allocations: 321.5 kB / 0.551 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.4193, allocations: 59.62 kB / 0.551 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/0.4219, allocations: 1.301 MB / 0.5523 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.4219, allocations: 12 kB / 0.5523 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.4219, allocations: 4 kB / 0.5523 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.4219, allocations: 7.984 kB / 0.5523 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004206/0.4261, allocations: 2.402 MB / 0.5547 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.4262, allocations: 8 kB / 0.5547 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002703/0.4289, allocations: 0.4915 MB / 0.5552 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.429, allocations: 32.84 kB / 0.5552 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/0.4291, allocations: 16 kB / 0.5552 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.4304, allocations: 1.634 MB / 0.5568 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4305, allocations: 0 / 0.5568 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003521/0.434, allocations: 2.013 MB / 0.5588 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.4342, allocations: 136.6 kB / 0.5589 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.4343, allocations: 16 kB / 0.5589 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/0.4348, allocations: 59.91 kB / 0.559 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.435, allocations: 76.48 kB / 0.559 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/0.4351, allocations: 23.94 kB / 0.5591 GB, free: 14.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003933/0.4355, allocations: 318.9 kB / 0.5594 GB, free: 14.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4355, allocations: 0 / 0.5594 GB, free: 14.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009814/0.4365, allocations: 228 kB / 0.5596 GB, free: 13.96 MB / 430.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.00388/0.4404, allocations: 2.592 MB / 0.5621 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003063/0.4435, allocations: 1.571 MB / 0.5636 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4435, allocations: 0 / 0.5636 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002826/0.4463, allocations: 1.006 MB / 0.5646 GB, free: 8.695 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009259/0.4473, allocations: 162.9 kB / 0.5648 GB, free: 8.547 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/0.4643, allocations: 9.446 MB / 0.574 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/0.4651, allocations: 1.063 MB / 0.575 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006095/0.4658, allocations: 217.5 kB / 0.5753 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000464/0.4662, allocations: 291.3 kB / 0.5755 GB, free: 13.19 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4662, allocations: 0 / 0.5755 GB, free: 13.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07956/0.5458, allocations: 20.27 MB / 0.5953 GB, free: 9.109 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.33, allocations: 11.11 kB / 0.5953 GB, free: 9.102 MB / 462.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)