Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.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.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_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.001502/0.001502, allocations: 185.4 kB / 8.133 MB, free: 2.195 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.082/1.082, allocations: 194.2 MB / 202.8 MB, free: 8.656 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.00146/0.00146, allocations: 114.9 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1573/0.1573, allocations: 37.91 MB / 330.5 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1844/0.3417, allocations: 59.35 MB / 389.9 MB, free: 78.04 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07531/0.417, allocations: 53.23 MB / 443.1 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2453/0.6623, allocations: 104.3 MB / 0.5346 GB, free: 3.418 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.6626, allocations: 89.61 kB / 0.5347 GB, free: 3.375 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.06463/0.7272, allocations: 24.01 MB / 0.5581 GB, free: 14.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.7273, allocations: 8 kB / 0.5581 GB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008312/0.7281, allocations: 150.8 kB / 0.5583 GB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00327/0.7314, allocations: 1.25 MB / 0.5595 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.7317, allocations: 158.9 kB / 0.5596 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.7318, allocations: 48 kB / 0.5597 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001623/0.7334, allocations: 1.07 MB / 0.5607 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.7351, allocations: 1.2 MB / 0.5619 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.7351, allocations: 0 / 0.5619 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.487e-05/0.7352, allocations: 4 kB / 0.5619 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.7353, allocations: 53.61 kB / 0.562 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00649/0.7418, allocations: 4.806 MB / 0.5666 GB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.7428, allocations: 0.8391 MB / 0.5675 GB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000847/0.7437, allocations: 0.6123 MB / 0.5681 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.216e-05/0.7438, allocations: 16.47 kB / 0.5681 GB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.7438, allocations: 42.81 kB / 0.5681 GB, free: 6.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.464e-06/0.7438, allocations: 0 / 0.5681 GB, free: 6.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.003619/0.7474, allocations: 2.371 MB / 0.5704 GB, free: 4.648 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.7475, allocations: 85.77 kB / 0.5705 GB, free: 4.543 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.7478, allocations: 337.1 kB / 0.5708 GB, free: 4.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.7479, allocations: 29.7 kB / 0.5709 GB, free: 4.234 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.7481, allocations: 343.1 kB / 0.5712 GB, free: 3.926 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.7482, allocations: 252.5 kB / 0.5714 GB, free: 3.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.7483, allocations: 0 / 0.5714 GB, free: 3.707 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.7484, allocations: 372.1 kB / 0.5718 GB, free: 3.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005728/0.749, allocations: 444.4 kB / 0.5722 GB, free: 3.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000688/0.7497, allocations: 0.6252 MB / 0.5728 GB, free: 2.547 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006958/0.7504, allocations: 0.5178 MB / 0.5733 GB, free: 2.188 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.7504, allocations: 7.938 kB / 0.5733 GB, free: 2.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003591/0.754, allocations: 1.872 MB / 0.5752 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.754, allocations: 7.984 kB / 0.5752 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003128/0.7572, allocations: 1.653 MB / 0.5768 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.7585, allocations: 0.5247 MB / 0.5773 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007053/0.7593, allocations: 143.7 kB / 0.5774 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007838/0.7671, allocations: 5.73 MB / 0.583 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007706/0.7679, allocations: 64.03 kB / 0.5831 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.889e-05/0.768, allocations: 35.98 kB / 0.5831 GB, free: 8.707 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002118/0.7682, allocations: 120.7 kB / 0.5832 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.7684, allocations: 63.25 kB / 0.5833 GB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.7703, allocations: 1.157 MB / 0.5844 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.143e-05/0.7703, allocations: 27.89 kB / 0.5845 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7703, allocations: 0 / 0.5845 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.7703, allocations: 3.984 kB / 0.5845 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/0.7737, allocations: 2.159 MB / 0.5866 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.7737, allocations: 0 / 0.5866 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002932/0.7766, allocations: 0.687 MB / 0.5872 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.901e-05/0.7767, allocations: 28.78 kB / 0.5873 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.843e-05/0.7768, allocations: 8 kB / 0.5873 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009588/0.7777, allocations: 1.321 MB / 0.5886 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.7778, allocations: 160 / 0.5886 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002487/0.7803, allocations: 1.921 MB / 0.5904 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003351/0.7836, allocations: 2.996 MB / 0.5934 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.7838, allocations: 124.4 kB / 0.5935 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.7839, allocations: 7.984 kB / 0.5935 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/0.7845, allocations: 63.94 kB / 0.5936 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.7846, allocations: 52.58 kB / 0.5936 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.7847, allocations: 19.98 kB / 0.5936 GB, free: 13.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002853/0.785, allocations: 247.2 kB / 0.5939 GB, free: 13.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001526/0.7865, allocations: 223.9 kB / 0.5941 GB, free: 13.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (66): * Single equations (assignments): 62 * Array equations: 2 * 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.0003135/0.7869, allocations: 154.9 kB / 0.5942 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002091/0.789, allocations: 1.368 MB / 0.5956 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.789, allocations: 0 / 0.5956 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003314/0.7923, allocations: 1.355 MB / 0.5969 GB, free: 10.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.7929, allocations: 99.56 kB / 0.597 GB, free: 10.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.7966, allocations: 1.904 MB / 0.5988 GB, free: 8.125 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.7976, allocations: 1.153 MB / 0.6 GB, free: 6.941 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7977, allocations: 0 / 0.6 GB, free: 6.941 MB / 410.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)