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/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.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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009564/0.000956, allocations: 179.5 kB / 8.131 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9911/0.9911, allocations: 194.2 MB / 202.8 MB, free: 8.652 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.001647/0.001647, allocations: 123.1 kB / 247.7 MB, free: 6.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1492/0.1492, allocations: 37.92 MB / 330.5 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.17/0.3192, allocations: 59.35 MB / 389.9 MB, free: 78.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07075/0.39, allocations: 53.22 MB / 443.1 MB, free: 24.9 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.237/0.6271, allocations: 104 MB / 0.5343 GB, free: 3.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.6273, allocations: 89.83 kB / 0.5344 GB, free: 3.668 MB / 346.7 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.06368/0.691, allocations: 25.09 MB / 0.5589 GB, free: 14.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.691, allocations: 16 kB / 0.5589 GB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007741/0.6918, allocations: 134.8 kB / 0.559 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003133/0.695, allocations: 1.257 MB / 0.5602 GB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.6952, allocations: 151 kB / 0.5604 GB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.6954, allocations: 55.91 kB / 0.5604 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001714/0.6971, allocations: 1.203 MB / 0.5616 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.6988, allocations: 1.244 MB / 0.5628 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.6988, allocations: 7.938 kB / 0.5628 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-05/0.6989, allocations: 0 / 0.5628 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/0.6991, allocations: 77.02 kB / 0.5629 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006427/0.7055, allocations: 4.339 MB / 0.5671 GB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.7069, allocations: 1.028 MB / 0.5682 GB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009719/0.7079, allocations: 0.7491 MB / 0.5689 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.759e-05/0.7079, allocations: 12.16 kB / 0.5689 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.708, allocations: 41.97 kB / 0.5689 GB, free: 6.105 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 3.136e-06/0.708, allocations: 0 / 0.5689 GB, free: 6.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.005391/0.7134, allocations: 3.31 MB / 0.5722 GB, free: 3.457 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.7134, allocations: 85.77 kB / 0.5723 GB, free: 3.352 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.7137, allocations: 285 kB / 0.5725 GB, free: 3.121 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.1e-05/0.7138, allocations: 25.7 kB / 0.5725 GB, free: 3.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.714, allocations: 295.3 kB / 0.5728 GB, free: 2.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.7142, allocations: 346.2 kB / 0.5732 GB, free: 2.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.7143, allocations: 0 / 0.5732 GB, free: 2.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7144, allocations: 374.6 kB / 0.5735 GB, free: 2.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007054/0.7151, allocations: 0.5547 MB / 0.5741 GB, free: 1.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000757/0.7159, allocations: 0.6936 MB / 0.5747 GB, free: 1.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.7173, allocations: 0.7539 MB / 0.5755 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7173, allocations: 0 / 0.5755 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002377/0.7197, allocations: 1.609 MB / 0.577 GB, free: 15.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.7197, allocations: 8.062 kB / 0.5771 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.7197, allocations: 7.938 kB / 0.5771 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.706e-05/0.7198, allocations: 32.78 kB / 0.5771 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00267/0.7225, allocations: 0.6595 MB / 0.5777 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004566/0.7271, allocations: 5.766 MB / 0.5834 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006466/0.7277, allocations: 72.09 kB / 0.5834 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/0.7278, allocations: 31.98 kB / 0.5835 GB, free: 8.227 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 96 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.728, allocations: 124.5 kB / 0.5836 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.7282, allocations: 63.19 kB / 0.5836 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/0.7307, allocations: 1.616 MB / 0.5852 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.073e-05/0.7308, allocations: 23.98 kB / 0.5852 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7308, allocations: 0 / 0.5852 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.7308, allocations: 7.984 kB / 0.5853 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004185/0.735, allocations: 2.813 MB / 0.588 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.735, allocations: 8.016 kB / 0.588 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003018/0.738, allocations: 0.718 MB / 0.5887 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-05/0.7381, allocations: 36.8 kB / 0.5887 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/0.7382, allocations: 15.89 kB / 0.5888 GB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008423/0.739, allocations: 1.325 MB / 0.5901 GB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.7391, allocations: 0 / 0.5901 GB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003324/0.7424, allocations: 2.676 MB / 0.5927 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004427/0.7468, allocations: 3.975 MB / 0.5965 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.747, allocations: 136.3 kB / 0.5967 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.7471, allocations: 8 kB / 0.5967 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006179/0.7477, allocations: 67.92 kB / 0.5967 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.7479, allocations: 60.5 kB / 0.5968 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.138e-05/0.748, allocations: 31.89 kB / 0.5968 GB, free: 10.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002197/0.7482, allocations: 212.6 kB / 0.597 GB, free: 9.828 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001415/0.7496, allocations: 243.9 kB / 0.5973 GB, free: 9.59 MB / 410.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 79 * Array equations: 4 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000286/0.7499, allocations: 170.9 kB / 0.5974 GB, free: 9.414 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004187/0.7541, allocations: 2.066 MB / 0.5995 GB, free: 7.336 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7541, allocations: 0 / 0.5995 GB, free: 7.336 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003612/0.7578, allocations: 1.579 MB / 0.601 GB, free: 5.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005418/0.7583, allocations: 85.16 kB / 0.6011 GB, free: 5.668 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/0.7626, allocations: 2.245 MB / 0.6033 GB, free: 3.363 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009938/0.7636, allocations: 1.177 MB / 0.6044 GB, free: 2.148 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7636, allocations: 0 / 0.6044 GB, free: 2.148 MB / 410.7 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/linux/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)