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 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.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.002406/0.002406, allocations: 105.6 kB / 17.06 MB, free: 6.117 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.002827/0.002827, allocations: 195 kB / 18 MB, free: 5.191 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.825/1.825, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.183/0.183, allocations: 37.99 MB / 309.2 MB, free: 5.961 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.002461/0.002461, allocations: 63.91 kB / 431.4 MB, free: 16.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1335, allocations: 55.24 MB / 486.6 MB, free: 8.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.01246/0.146, allocations: 6.683 MB / 493.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005875/0.1519, allocations: 2.154 MB / 495.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000643/0.1526, allocations: 27.88 kB / 495.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.155, allocations: 0.5059 MB / 496 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.1573, allocations: 0.5639 MB / 496.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.1586, allocations: 351.3 kB / 496.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00219/0.1608, allocations: 1.302 MB / 498.2 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.1624, allocations: 0.7284 MB / 498.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.1637, allocations: 0.5526 MB / 499.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.1653, allocations: 0.7362 MB / 0.4885 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003469/0.1657, allocations: 104 kB / 0.4886 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.1673, allocations: 0.6046 MB / 0.4892 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008582/0.1682, allocations: 486.9 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.1694, allocations: 0.5289 MB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.1721, allocations: 1.535 MB / 0.4916 GB, free: 7.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1721, allocations: 0 / 0.4916 GB, free: 7.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1721, allocations: 0 / 0.4916 GB, free: 7.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.608e-05/0.1722, allocations: 0 / 0.4916 GB, free: 7.934 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.004829/0.177, allocations: 1.371 MB / 0.493 GB, free: 6.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.1771, allocations: 11.89 kB / 0.493 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003372/0.1775, allocations: 151.8 kB / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.1786, allocations: 143.7 kB / 0.4933 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/0.1807, allocations: 0.6882 MB / 0.494 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003365/0.181, allocations: 175.4 kB / 0.4941 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003325/0.1814, allocations: 83.98 kB / 0.4942 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003712/0.1851, allocations: 1.402 MB / 0.4956 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/0.1852, allocations: 3.938 kB / 0.4956 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.1853, allocations: 32 kB / 0.4956 GB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003158/0.1856, allocations: 93.92 kB / 0.4957 GB, free: 3.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00415/0.1898, allocations: 1.511 MB / 0.4972 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01051/0.2003, allocations: 4.423 MB / 0.5015 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/0.2039, allocations: 1.189 MB / 0.5026 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002002/0.206, allocations: 0.7695 MB / 0.5034 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.256e-05/0.2061, allocations: 16.64 kB / 0.5034 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.2061, allocations: 43.2 kB / 0.5035 GB, free: 11.53 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 6.072e-06/0.2062, allocations: 0 / 0.5035 GB, free: 11.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.01042/0.2166, allocations: 3.85 MB / 0.5072 GB, free: 7.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.2167, allocations: 98.08 kB / 0.5073 GB, free: 7.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006691/0.2174, allocations: 397.9 kB / 0.5077 GB, free: 7.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.2175, allocations: 41.7 kB / 0.5077 GB, free: 7.023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.2178, allocations: 348.2 kB / 0.5081 GB, free: 6.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004087/0.2182, allocations: 350.8 kB / 0.5084 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004227/0.2187, allocations: 158.7 kB / 0.5085 GB, free: 6.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002513/0.2189, allocations: 378.8 kB / 0.5089 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/0.2207, allocations: 0.5914 MB / 0.5095 GB, free: 5.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.2226, allocations: 0.7425 MB / 0.5102 GB, free: 4.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003493/0.2261, allocations: 1.391 MB / 0.5116 GB, free: 2.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.2261, allocations: 4 kB / 0.5116 GB, free: 2.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004394/0.2305, allocations: 1.596 MB / 0.5131 GB, free: 1.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.2306, allocations: 15.92 kB / 0.5131 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.2306, allocations: 7.938 kB / 0.5132 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/0.2309, allocations: 32.84 kB / 0.5132 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003932/0.2349, allocations: 0.4956 MB / 0.5137 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009966/0.2449, allocations: 6.694 MB / 0.5202 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.2461, allocations: 79.89 kB / 0.5203 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/0.2464, allocations: 36.09 kB / 0.5203 GB, free: 9.422 MB / 414.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.000854/0.2472, allocations: 317.5 kB / 0.5206 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/0.2476, allocations: 71.09 kB / 0.5207 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004206/0.2518, allocations: 1.588 MB / 0.5222 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.073e-05/0.2519, allocations: 24 kB / 0.5223 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.2519, allocations: 8 kB / 0.5223 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.2519, allocations: 3.984 kB / 0.5223 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00688/0.2588, allocations: 2.876 MB / 0.5251 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/0.2588, allocations: 0 / 0.5251 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004226/0.2631, allocations: 0.5307 MB / 0.5256 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001886/0.2633, allocations: 48.83 kB / 0.5256 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.2634, allocations: 16 kB / 0.5257 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.2652, allocations: 1.634 MB / 0.5273 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.2652, allocations: 3.938 kB / 0.5273 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2276/0.4928, allocations: 2.538 MB / 0.5297 GB, free: 51.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.4931, allocations: 133.2 kB / 0.5299 GB, free: 50.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003069/0.4935, allocations: 21.45 kB / 0.5299 GB, free: 50.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009005/0.4944, allocations: 70.06 kB / 0.53 GB, free: 50.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003258/0.4947, allocations: 75.53 kB / 0.53 GB, free: 50.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.4948, allocations: 27.59 kB / 0.5301 GB, free: 50.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000481/0.4953, allocations: 280.3 kB / 0.5303 GB, free: 50.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4953, allocations: 0.75 kB / 0.5303 GB, free: 50.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001318/0.4967, allocations: 238.6 kB / 0.5305 GB, free: 50.92 MB / 414.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.004799/0.5015, allocations: 3.15 MB / 0.5336 GB, free: 49.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004357/0.5059, allocations: 1.836 MB / 0.5354 GB, free: 49.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.5059, allocations: 1.281 kB / 0.5354 GB, free: 49.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002757/0.5087, allocations: 1.197 MB / 0.5366 GB, free: 49.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000976/0.5097, allocations: 164.6 kB / 0.5367 GB, free: 49.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/0.5251, allocations: 9.096 MB / 0.5456 GB, free: 44.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007987/0.5259, allocations: 1.081 MB / 0.5467 GB, free: 43.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000875/0.5268, allocations: 270 kB / 0.5469 GB, free: 43.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/0.5273, allocations: 292.1 kB / 0.5472 GB, free: 43.75 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5274, allocations: 1.5 kB / 0.5472 GB, free: 43.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0622/0.5896, allocations: 18.23 MB / 0.565 GB, free: 30.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.21, allocations: 21.69 kB / 0.565 GB, free: 30.91 MB / 414.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)