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.001681/0.001681, allocations: 105.2 kB / 17.06 MB, free: 5.785 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.002022/0.002022, allocations: 198.9 kB / 18 MB, free: 4.93 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.45/1.45, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1743/0.1743, allocations: 37.99 MB / 309.2 MB, free: 5.957 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.001386/0.001387, allocations: 63.91 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0969/0.0983, allocations: 55.25 MB / 486.6 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008872/0.1072, allocations: 6.753 MB / 493.4 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004981/0.1123, allocations: 2.186 MB / 495.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006287/0.1129, allocations: 31.81 kB / 495.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.1145, allocations: 0.506 MB / 496.1 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.1159, allocations: 0.5522 MB / 496.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009521/0.1169, allocations: 375.2 kB / 497 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.1183, allocations: 1.313 MB / 498.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000854/0.1192, allocations: 0.7284 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007072/0.1199, allocations: 0.5489 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009554/0.1208, allocations: 0.6971 MB / 0.4886 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.121, allocations: 100 kB / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007955/0.1218, allocations: 0.5149 MB / 0.4892 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004127/0.1222, allocations: 470.9 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004378/0.1227, allocations: 0.5134 MB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.124, allocations: 1.476 MB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.124, allocations: 0 / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.124, allocations: 0 / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.124, allocations: 0 / 0.4916 GB, free: 8.012 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.002574/0.1266, allocations: 1.336 MB / 0.4929 GB, free: 6.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1266, allocations: 15.83 kB / 0.4929 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.1268, allocations: 147.7 kB / 0.493 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006915/0.1275, allocations: 139.8 kB / 0.4932 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.1289, allocations: 0.6905 MB / 0.4938 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.1291, allocations: 179.4 kB / 0.494 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.1293, allocations: 91.89 kB / 0.4941 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.1314, allocations: 1.362 MB / 0.4954 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.1315, allocations: 7.938 kB / 0.4954 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/0.1316, allocations: 35.98 kB / 0.4955 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001509/0.1317, allocations: 61.97 kB / 0.4955 GB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.134, allocations: 1.292 MB / 0.4968 GB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00673/0.1407, allocations: 4.896 MB / 0.5016 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.1429, allocations: 1.137 MB / 0.5027 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.144, allocations: 0.6204 MB / 0.5033 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.287e-05/0.1441, allocations: 8.562 kB / 0.5033 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.1441, allocations: 43.12 kB / 0.5033 GB, free: 11.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=72): time 6.191e-06/0.1442, allocations: 0 / 0.5033 GB, free: 11.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.005934/0.1501, allocations: 3.182 MB / 0.5064 GB, free: 8.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.1502, allocations: 85.61 kB / 0.5065 GB, free: 8.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005099/0.1507, allocations: 461.9 kB / 0.507 GB, free: 7.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.598e-05/0.1508, allocations: 41.73 kB / 0.507 GB, free: 7.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.151, allocations: 395.3 kB / 0.5074 GB, free: 7.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.1513, allocations: 260.3 kB / 0.5076 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.1515, allocations: 146.6 kB / 0.5078 GB, free: 6.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1517, allocations: 370.8 kB / 0.5081 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008915/0.1526, allocations: 0.4977 MB / 0.5086 GB, free: 6.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.1536, allocations: 0.6795 MB / 0.5093 GB, free: 5.246 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.1556, allocations: 1.224 MB / 0.5105 GB, free: 3.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1556, allocations: 0 / 0.5105 GB, free: 3.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004334/0.1599, allocations: 1.974 MB / 0.5124 GB, free: 1.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.16, allocations: 11.94 kB / 0.5124 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003737/0.1637, allocations: 1.71 MB / 0.5141 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/0.1655, allocations: 0.6611 MB / 0.5147 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.1661, allocations: 151.8 kB / 0.5149 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/0.1778, allocations: 7.422 MB / 0.5221 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/0.1786, allocations: 76 kB / 0.5222 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.951e-05/0.1787, allocations: 31.98 kB / 0.5222 GB, free: 7.566 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.0005456/0.1792, allocations: 313.6 kB / 0.5225 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.1794, allocations: 59.25 kB / 0.5226 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/0.1818, allocations: 1.305 MB / 0.5238 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.671e-05/0.1819, allocations: 19.92 kB / 0.5239 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1819, allocations: 0 / 0.5239 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.1819, allocations: 4 kB / 0.5239 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004168/0.1861, allocations: 2.409 MB / 0.5262 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.1861, allocations: 4 kB / 0.5262 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002784/0.1889, allocations: 499.3 kB / 0.5267 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001389/0.1891, allocations: 32.84 kB / 0.5267 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/0.1891, allocations: 23.98 kB / 0.5268 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.1904, allocations: 1.618 MB / 0.5283 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1904, allocations: 3.938 kB / 0.5283 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2166/0.407, allocations: 2.008 MB / 0.5303 GB, free: 51.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.4073, allocations: 131 kB / 0.5304 GB, free: 51.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.4074, allocations: 18.86 kB / 0.5304 GB, free: 51.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/0.408, allocations: 61.19 kB / 0.5305 GB, free: 51.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.4082, allocations: 66.56 kB / 0.5306 GB, free: 51.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.473e-05/0.4082, allocations: 20.78 kB / 0.5306 GB, free: 51.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003575/0.4086, allocations: 318 kB / 0.5309 GB, free: 51.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4086, allocations: 0 / 0.5309 GB, free: 51.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008914/0.4095, allocations: 232.8 kB / 0.5311 GB, free: 51.1 MB / 414.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.0035/0.413, allocations: 2.582 MB / 0.5336 GB, free: 50.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00301/0.416, allocations: 1.572 MB / 0.5352 GB, free: 49.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.279e-06/0.4161, allocations: 0 / 0.5352 GB, free: 49.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002793/0.4189, allocations: 1 MB / 0.5361 GB, free: 49.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008733/0.4198, allocations: 162.7 kB / 0.5363 GB, free: 49.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.4362, allocations: 9.412 MB / 0.5455 GB, free: 44.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/0.4369, allocations: 1.071 MB / 0.5465 GB, free: 44.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005967/0.4375, allocations: 212.5 kB / 0.5467 GB, free: 44.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/0.4379, allocations: 287.3 kB / 0.547 GB, free: 44 MB / 414.1 MB Notification: Performance of SimCode: time 2.264e-06/0.4379, allocations: 0 / 0.547 GB, free: 44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04351/0.4814, allocations: 20.64 MB / 0.5672 GB, free: 29.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.89, allocations: 4.969 kB / 0.5672 GB, free: 29.03 MB / 414.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)