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.0009402/0.0009403, allocations: 87.88 kB / 16.31 MB, free: 6.453 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.00115/0.00115, allocations: 178.3 kB / 17.21 MB, free: 6.328 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.759/1.759, allocations: 205.4 MB / 223.4 MB, free: 5.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3165/0.3165, allocations: 38.06 MB / 309.7 MB, free: 8.91 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.0005239/0.0005241, allocations: 16 kB / 376.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1214, allocations: 56.34 MB / 433 MB, free: 6.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008266/0.1297, allocations: 6.949 MB / 439.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005025/0.1348, allocations: 2.37 MB / 442.3 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009131/0.1357, allocations: 43.69 kB / 442.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008193/0.1366, allocations: 178.7 kB / 442.5 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.1386, allocations: 0.5678 MB / 443.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.1397, allocations: 347.4 kB / 443.4 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.1415, allocations: 1.473 MB / 444.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.143, allocations: 0.8362 MB / 445.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009614/0.144, allocations: 450.1 kB / 446.1 MB, free: 9.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.1454, allocations: 0.6544 MB / 446.8 MB, free: 8.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003019/0.1458, allocations: 48 kB / 446.8 MB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.147, allocations: 475.2 kB / 447.3 MB, free: 8.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005304/0.1475, allocations: 419 kB / 447.7 MB, free: 7.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.1478, allocations: 189.3 kB / 447.9 MB, free: 7.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.149, allocations: 1.114 MB / 449 MB, free: 6.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.149, allocations: 0 / 449 MB, free: 6.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.149, allocations: 4 kB / 449 MB, free: 6.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.388e-05/0.1491, allocations: 0 / 449 MB, free: 6.426 MB / 382.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.002743/0.1518, allocations: 1.188 MB / 450.2 MB, free: 5.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.874e-05/0.1519, allocations: 12.03 kB / 450.2 MB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002162/0.1521, allocations: 147.4 kB / 450.4 MB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000748/0.1529, allocations: 146.7 kB / 450.5 MB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.154, allocations: 0.6349 MB / 451.1 MB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.1542, allocations: 191 kB / 451.3 MB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.1544, allocations: 83.91 kB / 451.4 MB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.1567, allocations: 1.382 MB / 452.8 MB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/0.1568, allocations: 11.94 kB / 452.8 MB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-05/0.1569, allocations: 39.92 kB / 452.8 MB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001441/0.157, allocations: 61.97 kB / 452.9 MB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/0.1594, allocations: 1.331 MB / 454.2 MB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2216/0.3811, allocations: 4.969 MB / 459.2 MB, free: 48.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.3829, allocations: 1.206 MB / 460.4 MB, free: 48.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.384, allocations: 0.6522 MB / 461.1 MB, free: 48.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.97e-05/0.384, allocations: 13.7 kB / 461.1 MB, free: 48.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.3841, allocations: 40.28 kB / 461.1 MB, free: 48.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 3.807e-06/0.3841, allocations: 0 / 461.1 MB, free: 48.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.005464/0.3895, allocations: 3.296 MB / 464.4 MB, free: 48.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.3896, allocations: 84.2 kB / 464.5 MB, free: 47.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004723/0.3901, allocations: 458.7 kB / 464.9 MB, free: 47.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.3901, allocations: 39.14 kB / 465 MB, free: 47.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.3904, allocations: 404.4 kB / 465.4 MB, free: 47.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.3905, allocations: 258.7 kB / 465.6 MB, free: 47.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.3906, allocations: 15.12 kB / 465.6 MB, free: 47.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.3907, allocations: 375.7 kB / 466 MB, free: 46.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007681/0.3915, allocations: 0.512 MB / 466.5 MB, free: 46.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008275/0.3923, allocations: 0.7082 MB / 467.2 MB, free: 46.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008577/0.3932, allocations: 0.5912 MB / 467.8 MB, free: 46.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3932, allocations: 0 / 467.8 MB, free: 46.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003874/0.3971, allocations: 2.128 MB / 470 MB, free: 45.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.3971, allocations: 6.25 kB / 470 MB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003448/0.4006, allocations: 1.863 MB / 471.8 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.4023, allocations: 0.702 MB / 472.5 MB, free: 44.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.4029, allocations: 157 kB / 472.7 MB, free: 44.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009135/0.412, allocations: 7.071 MB / 479.7 MB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/0.4128, allocations: 91.95 kB / 479.8 MB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.279e-05/0.4129, allocations: 34.2 kB / 479.9 MB, free: 40.68 MB / 382.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.0005323/0.4134, allocations: 308.7 kB / 480.2 MB, free: 40.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.4136, allocations: 62.52 kB / 480.2 MB, free: 40.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.4158, allocations: 1.343 MB / 481.6 MB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.4159, allocations: 19.47 kB / 481.6 MB, free: 39.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.4159, allocations: 2.812 kB / 481.6 MB, free: 39.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.4159, allocations: 3.141 kB / 481.6 MB, free: 39.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/0.4197, allocations: 2.462 MB / 484.1 MB, free: 38.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.4197, allocations: 3.125 kB / 484.1 MB, free: 38.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002349/0.4221, allocations: 0.6318 MB / 484.7 MB, free: 38.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/0.4222, allocations: 40.19 kB / 484.7 MB, free: 38.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.737e-05/0.4223, allocations: 21.28 kB / 484.8 MB, free: 38.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007566/0.423, allocations: 1.464 MB / 486.2 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.423, allocations: 3.031 kB / 486.2 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.4259, allocations: 2.078 MB / 488.3 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.4261, allocations: 129.3 kB / 488.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.4262, allocations: 16.97 kB / 488.4 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004888/0.4267, allocations: 73.83 kB / 488.5 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.4268, allocations: 61.36 kB / 488.6 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.4269, allocations: 21.31 kB / 488.6 MB, free: 36.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003597/0.4273, allocations: 317.4 kB / 488.9 MB, free: 36.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4273, allocations: 0 / 488.9 MB, free: 36.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00106/0.4284, allocations: 235 kB / 489.1 MB, free: 36.02 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.003485/0.4318, allocations: 2.662 MB / 491.8 MB, free: 34.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00291/0.4348, allocations: 1.591 MB / 493.4 MB, free: 33.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.4348, allocations: 0 / 493.4 MB, free: 33.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002687/0.4375, allocations: 1.159 MB / 494.6 MB, free: 33.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009668/0.4385, allocations: 151.2 kB / 494.7 MB, free: 33.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.4523, allocations: 6.889 MB / 0.4898 GB, free: 30.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/0.4537, allocations: 1.072 MB / 0.4909 GB, free: 29.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001044/0.4548, allocations: 225.5 kB / 0.4911 GB, free: 29.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006421/0.4554, allocations: 286.9 kB / 0.4914 GB, free: 29.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.663e-06/0.4555, allocations: 0 / 0.4914 GB, free: 29.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03861/0.4941, allocations: 18.91 MB / 0.5098 GB, free: 18.54 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/0.4943, allocations: 215.7 kB / 0.51 GB, free: 18.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/2.65, allocations: 0 / 0.51 GB, free: 18.29 MB / 382.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: