Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/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.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_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.001075/0.001075, allocations: 106 kB / 16.92 MB, free: 5.777 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.001088/0.001088, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.295/1.295, allocations: 222.9 MB / 241.6 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1747/0.1747, allocations: 38.02 MB / 329.7 MB, free: 8.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 66.05 kB / 398.9 MB, free: 33.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.1003, allocations: 58.07 MB / 457 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008825/0.1092, allocations: 6.679 MB / 463.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00384/0.1131, allocations: 2.119 MB / 465.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005948/0.1137, allocations: 27.81 kB / 465.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.1153, allocations: 0.5055 MB / 466.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.1167, allocations: 0.5639 MB / 466.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008775/0.1176, allocations: 351.2 kB / 467.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.1194, allocations: 1.294 MB / 468.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.1205, allocations: 0.7324 MB / 469.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.1216, allocations: 0.545 MB / 469.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.1229, allocations: 0.7284 MB / 470.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003377/0.1233, allocations: 108 kB / 470.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.1247, allocations: 0.6435 MB / 471.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006344/0.1253, allocations: 490.8 kB / 471.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009259/0.1263, allocations: 0.5173 MB / 472.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.1281, allocations: 1.511 MB / 473.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1281, allocations: 0 / 473.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1281, allocations: 0 / 473.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.884e-05/0.1282, allocations: 0 / 473.8 MB, free: 7.102 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.003278/0.1314, allocations: 1.375 MB / 475.1 MB, free: 5.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1315, allocations: 11.89 kB / 475.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/0.1317, allocations: 151.8 kB / 475.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007151/0.1324, allocations: 143.7 kB / 475.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.1335, allocations: 0.657 MB / 476.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.1337, allocations: 175.4 kB / 476.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.1339, allocations: 79.98 kB / 476.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.136, allocations: 1.406 MB / 477.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.136, allocations: 0 / 477.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-05/0.1361, allocations: 32 kB / 477.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000202/0.1363, allocations: 81.94 kB / 477.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/0.1388, allocations: 1.526 MB / 479.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005975/0.1448, allocations: 4.447 MB / 483.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.1469, allocations: 1.188 MB / 485 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.1481, allocations: 0.7778 MB / 485.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.868e-05/0.1482, allocations: 12.64 kB / 485.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.1482, allocations: 47.22 kB / 485.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 2.194e-06/0.1482, allocations: 0 / 485.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.006287/0.1545, allocations: 3.85 MB / 489.7 MB, free: 6.746 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.1546, allocations: 90.11 kB / 489.8 MB, free: 6.641 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.155, allocations: 397.9 kB / 490.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.155, allocations: 41.7 kB / 490.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.1552, allocations: 340.3 kB / 490.6 MB, free: 5.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.1555, allocations: 350.8 kB / 490.9 MB, free: 5.508 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.1557, allocations: 170.7 kB / 491.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1559, allocations: 378.8 kB / 491.4 MB, free: 4.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009797/0.1569, allocations: 0.5875 MB / 492 MB, free: 4.367 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.158, allocations: 0.7463 MB / 492.8 MB, free: 3.574 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/0.1601, allocations: 1.387 MB / 494.2 MB, free: 2.141 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.1601, allocations: 4 kB / 494.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002541/0.1626, allocations: 1.599 MB / 495.8 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1627, allocations: 8 kB / 495.8 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.1627, allocations: 4 kB / 495.8 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/0.1628, allocations: 45.02 kB / 495.8 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/0.1653, allocations: 0.4953 MB / 496.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0068/0.1722, allocations: 6.686 MB / 0.4912 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007305/0.1729, allocations: 95.91 kB / 0.4913 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.173, allocations: 28 kB / 0.4913 GB, free: 8.594 MB / 382.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 (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0004897/0.1735, allocations: 317.6 kB / 0.4916 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.1737, allocations: 71.08 kB / 0.4917 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/0.1765, allocations: 1.6 MB / 0.4933 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-05/0.1765, allocations: 23.98 kB / 0.4933 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1765, allocations: 4 kB / 0.4933 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.1765, allocations: 3.984 kB / 0.4933 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/0.1809, allocations: 2.877 MB / 0.4961 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1809, allocations: 4 kB / 0.4961 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002781/0.1837, allocations: 0.5307 MB / 0.4966 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.1839, allocations: 36.84 kB / 0.4967 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-05/0.1839, allocations: 23.98 kB / 0.4967 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.185, allocations: 1.634 MB / 0.4983 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.185, allocations: 4.031 kB / 0.4983 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003781/0.1888, allocations: 2.534 MB / 0.5008 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.189, allocations: 136.2 kB / 0.5009 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.1891, allocations: 20 kB / 0.5009 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006016/0.1897, allocations: 75.97 kB / 0.501 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.1899, allocations: 76.42 kB / 0.501 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.711e-05/0.19, allocations: 27.98 kB / 0.5011 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003116/0.1903, allocations: 283.1 kB / 0.5013 GB, free: 13.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1903, allocations: 0 / 0.5013 GB, free: 13.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009747/0.1913, allocations: 236 kB / 0.5016 GB, free: 13.73 MB / 398.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 (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.004533/0.1958, allocations: 3.165 MB / 0.5047 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005009/0.2009, allocations: 2.325 MB / 0.5069 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.2009, allocations: 0.5625 kB / 0.5069 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002917/0.2038, allocations: 1.205 MB / 0.5081 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008791/0.2047, allocations: 151.4 kB / 0.5083 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1917/0.3964, allocations: 9.206 MB / 0.5172 GB, free: 70.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000963/0.3974, allocations: 1.078 MB / 0.5183 GB, free: 69.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001073/0.3985, allocations: 269.3 kB / 0.5186 GB, free: 69.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005807/0.3991, allocations: 287.7 kB / 0.5188 GB, free: 69.36 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3991, allocations: 0 / 0.5188 GB, free: 69.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0414/0.4405, allocations: 17.54 MB / 0.536 GB, free: 64.26 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.96, allocations: 5.578 kB / 0.536 GB, free: 64.26 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)