Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_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.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 183.4 kB / 8.135 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.2 MB / 213.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009841/0.0009841, allocations: 91.2 kB / 261.8 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.164/0.164, allocations: 37.97 MB / 347.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.191/0.355, allocations: 62.44 MB / 410.1 MB, free: 46.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.4572, allocations: 56.32 MB / 466.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3461/0.8034, allocations: 109 MB / 0.5619 GB, free: 1.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.8037, allocations: 91.95 kB / 0.562 GB, free: 1.391 MB / 394.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.0778/0.8815, allocations: 25.1 MB / 0.5865 GB, free: 7.973 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.8816, allocations: 8 kB / 0.5865 GB, free: 7.965 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.8827, allocations: 138.8 kB / 0.5866 GB, free: 7.828 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003844/0.8866, allocations: 1.257 MB / 0.5879 GB, free: 6.531 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/0.8869, allocations: 151.1 kB / 0.588 GB, free: 6.363 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003432/0.8872, allocations: 51.91 kB / 0.5881 GB, free: 6.312 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002587/0.8898, allocations: 1.207 MB / 0.5892 GB, free: 5.105 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.8922, allocations: 1.242 MB / 0.5905 GB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.8922, allocations: 7.938 kB / 0.5905 GB, free: 3.809 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.8923, allocations: 0 / 0.5905 GB, free: 3.809 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000154/0.8925, allocations: 73.95 kB / 0.5905 GB, free: 3.738 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007845/0.9004, allocations: 4.343 MB / 0.5948 GB, free: 15.28 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.9019, allocations: 1.016 MB / 0.5958 GB, free: 14.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.903, allocations: 0.755 MB / 0.5965 GB, free: 13.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.837e-05/0.9031, allocations: 8.656 kB / 0.5965 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.9032, allocations: 47.16 kB / 0.5966 GB, free: 13.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 3.336e-06/0.9032, allocations: 0 / 0.5966 GB, free: 13.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=104): time 0.00637/0.9096, allocations: 3.311 MB / 0.5998 GB, free: 10.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.9096, allocations: 85.77 kB / 0.5999 GB, free: 9.934 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/0.91, allocations: 286 kB / 0.6002 GB, free: 9.652 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.9101, allocations: 25.7 kB / 0.6002 GB, free: 9.621 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.9103, allocations: 296.3 kB / 0.6005 GB, free: 9.324 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.9106, allocations: 342.7 kB / 0.6008 GB, free: 8.984 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.9106, allocations: 0 / 0.6008 GB, free: 8.984 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.9108, allocations: 378.8 kB / 0.6011 GB, free: 8.605 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007361/0.9115, allocations: 0.5564 MB / 0.6017 GB, free: 8.047 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008357/0.9124, allocations: 0.6936 MB / 0.6024 GB, free: 7.301 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.9138, allocations: 0.7529 MB / 0.6031 GB, free: 6.551 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.9138, allocations: 4 kB / 0.6031 GB, free: 6.547 MB / 442.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002734/0.9166, allocations: 1.613 MB / 0.6047 GB, free: 4.906 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.9166, allocations: 9.406 kB / 0.6047 GB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.9166, allocations: 4 kB / 0.6047 GB, free: 4.895 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/0.9167, allocations: 28.84 kB / 0.6047 GB, free: 4.863 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/0.9196, allocations: 0.6672 MB / 0.6054 GB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005253/0.9249, allocations: 5.766 MB / 0.611 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000838/0.9257, allocations: 76.03 kB / 0.6111 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.9258, allocations: 31.98 kB / 0.6111 GB, free: 13.88 MB / 458.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.0002418/0.9261, allocations: 116.8 kB / 0.6112 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.9263, allocations: 59.25 kB / 0.6113 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/0.9294, allocations: 1.609 MB / 0.6128 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.964e-05/0.9295, allocations: 27.98 kB / 0.6129 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.9295, allocations: 0 / 0.6129 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.9295, allocations: 3.984 kB / 0.6129 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004912/0.9344, allocations: 2.817 MB / 0.6156 GB, free: 9.121 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.9345, allocations: 4 kB / 0.6156 GB, free: 9.117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003214/0.9377, allocations: 0.7258 MB / 0.6163 GB, free: 8.391 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.314e-05/0.9378, allocations: 32.86 kB / 0.6164 GB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-05/0.9379, allocations: 11.89 kB / 0.6164 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009348/0.9388, allocations: 1.325 MB / 0.6177 GB, free: 6.902 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.9389, allocations: 3.938 kB / 0.6177 GB, free: 6.898 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003932/0.9428, allocations: 2.669 MB / 0.6203 GB, free: 4.113 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005197/0.948, allocations: 3.975 MB / 0.6242 GB, free: 24 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.9483, allocations: 136.3 kB / 0.6243 GB, free: 15.87 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.9485, allocations: 4 kB / 0.6243 GB, free: 15.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007518/0.9493, allocations: 67.92 kB / 0.6244 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/0.9495, allocations: 68.41 kB / 0.6244 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.669e-05/0.9495, allocations: 24 kB / 0.6245 GB, free: 15.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002778/0.9498, allocations: 224.6 kB / 0.6247 GB, free: 15.49 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001568/0.9514, allocations: 243.9 kB / 0.6249 GB, free: 15.25 MB / 474.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.0003762/0.9518, allocations: 159 kB / 0.6251 GB, free: 15.09 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004617/0.9564, allocations: 2.066 MB / 0.6271 GB, free: 13.01 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.9564, allocations: 0 / 0.6271 GB, free: 13.01 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003995/0.9604, allocations: 1.582 MB / 0.6286 GB, free: 11.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008895/0.9613, allocations: 89.22 kB / 0.6287 GB, free: 11.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005218/0.9666, allocations: 2.245 MB / 0.6309 GB, free: 9.023 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/0.9678, allocations: 1.173 MB / 0.632 GB, free: 7.82 MB / 474.7 MB Notification: Performance of SimCode: time 9.41e-07/0.9678, allocations: 0 / 0.632 GB, free: 7.82 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-05 PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)