Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001523/0.001522, allocations: 180.3 kB / 8.353 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.741/1.741, allocations: 194.4 MB / 203.1 MB, free: 12.96 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001756/0.001756, allocations: 119.4 kB / 248.1 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1621/0.1621, allocations: 37.93 MB / 330.9 MB, free: 2.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.833e-05, allocations: 0 / 390.5 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3192, allocations: 53.22 MB / 443.7 MB, free: 17.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.4517, allocations: 94.12 MB / 0.5252 GB, free: 3.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.452, allocations: 87.95 kB / 0.5253 GB, free: 3.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.325/0.777, allocations: 14.37 MB / 0.5393 GB, free: 88.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.7771, allocations: 0 / 0.5393 GB, free: 88.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.724e-05/0.7772, allocations: 14.66 kB / 0.5393 GB, free: 88.51 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001534/0.7787, allocations: 0.8717 MB / 0.5402 GB, free: 87.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.7788, allocations: 7.781 kB / 0.5402 GB, free: 87.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.7789, allocations: 70.25 kB / 0.5403 GB, free: 87.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.7815, allocations: 1.095 MB / 0.5413 GB, free: 87.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.7816, allocations: 96.61 kB / 0.5414 GB, free: 87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-05/0.7817, allocations: 35.23 kB / 0.5415 GB, free: 87 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008977/0.7827, allocations: 0.5974 MB / 0.542 GB, free: 86.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008689/0.7835, allocations: 0.6545 MB / 0.5427 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.7836, allocations: 3.75 kB / 0.5427 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.7836, allocations: 0 / 0.5427 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.7836, allocations: 11.81 kB / 0.5427 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003131/0.7868, allocations: 2.509 MB / 0.5451 GB, free: 83.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009829/0.7878, allocations: 0.7025 MB / 0.5458 GB, free: 83.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.7881, allocations: 331.5 kB / 0.5461 GB, free: 82.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.7882, allocations: 8.438 kB / 0.5462 GB, free: 82.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.7882, allocations: 42.94 kB / 0.5462 GB, free: 82.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.954e-06/0.7882, allocations: 0 / 0.5462 GB, free: 82.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.001925/0.7902, allocations: 1.427 MB / 0.5476 GB, free: 81.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.7902, allocations: 85.55 kB / 0.5477 GB, free: 81.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.7905, allocations: 294.4 kB / 0.548 GB, free: 80.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.7905, allocations: 29.73 kB / 0.548 GB, free: 80.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.7907, allocations: 288.3 kB / 0.5483 GB, free: 80.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.7908, allocations: 169.4 kB / 0.5484 GB, free: 80.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.7908, allocations: 7.938 kB / 0.5484 GB, free: 80.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.7909, allocations: 358.8 kB / 0.5488 GB, free: 79.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.7912, allocations: 217 kB / 0.549 GB, free: 79.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.7915, allocations: 324.1 kB / 0.5493 GB, free: 79.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.7918, allocations: 250 kB / 0.5495 GB, free: 79.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7918, allocations: 0 / 0.5495 GB, free: 79.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000833/0.7926, allocations: 0.7354 MB / 0.5502 GB, free: 78.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.7926, allocations: 9.828 kB / 0.5503 GB, free: 78.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.7927, allocations: 4 kB / 0.5503 GB, free: 78.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002167/0.7929, allocations: 69.67 kB / 0.5503 GB, free: 78.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.7944, allocations: 399.7 kB / 0.5507 GB, free: 77.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003335/0.7978, allocations: 5.658 MB / 0.5562 GB, free: 71.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004449/0.7983, allocations: 40.17 kB / 0.5563 GB, free: 71.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.7983, allocations: 20 kB / 0.5563 GB, free: 71.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.7985, allocations: 116.8 kB / 0.5564 GB, free: 71.51 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007987/0.7993, allocations: 0.6504 MB / 0.557 GB, free: 70.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.7993, allocations: 43.53 kB / 0.5571 GB, free: 70.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.8003, allocations: 0.6988 MB / 0.5578 GB, free: 70.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.8004, allocations: 11.98 kB / 0.5578 GB, free: 70.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.8004, allocations: 0 / 0.5578 GB, free: 70.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.8004, allocations: 8.016 kB / 0.5578 GB, free: 70.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.8024, allocations: 1.481 MB / 0.5592 GB, free: 68.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.8024, allocations: 3.984 kB / 0.5592 GB, free: 68.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001705/0.8041, allocations: 431.8 kB / 0.5596 GB, free: 68.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002272/0.8044, allocations: 77.64 kB / 0.5597 GB, free: 67.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/0.8044, allocations: 11.89 kB / 0.5597 GB, free: 67.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.806, allocations: 2.753 MB / 0.5624 GB, free: 64.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.806, allocations: 4 kB / 0.5624 GB, free: 64.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.8072, allocations: 1.219 MB / 0.5636 GB, free: 63.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.8073, allocations: 120.5 kB / 0.5637 GB, free: 63.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.8074, allocations: 8.125 kB / 0.5637 GB, free: 63.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.8077, allocations: 35.97 kB / 0.5638 GB, free: 63.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.8079, allocations: 51.81 kB / 0.5638 GB, free: 63.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.8079, allocations: 19.98 kB / 0.5638 GB, free: 63.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002194/0.8081, allocations: 224.6 kB / 0.564 GB, free: 63.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8081, allocations: 4 kB / 0.564 GB, free: 63.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007186/0.8089, allocations: 140 kB / 0.5642 GB, free: 63.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001612/0.8105, allocations: 2.257 MB / 0.5664 GB, free: 60.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.8126, allocations: 0.9965 MB / 0.5674 GB, free: 59.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.8126, allocations: 4 kB / 0.5674 GB, free: 59.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001763/0.8144, allocations: 0.8122 MB / 0.5682 GB, free: 58.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007795/0.8152, allocations: 93.23 kB / 0.5682 GB, free: 58.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.8181, allocations: 1.39 MB / 0.5696 GB, free: 57.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.8185, allocations: 0.968 MB / 0.5705 GB, free: 56.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000385/0.8189, allocations: 120.5 kB / 0.5707 GB, free: 56.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.8191, allocations: 195.4 kB / 0.5708 GB, free: 55.98 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.8192, allocations: 3.938 kB / 0.5709 GB, free: 55.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.8496, allocations: 10.74 MB / 0.5813 GB, free: 45.23 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.8499, allocations: 139.3 kB / 0.5815 GB, free: 45.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.384, allocations: 0 / 0.5815 GB, free: 45.04 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1)