Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_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 trunk/package.mo): time 0.001257/0.001257, allocations: 204.2 kB / 8.536 MB, free: 464 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.12/1.12, allocations: 225.5 MB / 234.4 MB, free: 9.48 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009523/0.0009523, allocations: 94.97 kB / 286.3 MB, free: 5.848 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 0.09337/0.09435, allocations: 56.89 MB / 343.2 MB, free: 12.95 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2995, allocations: 51.45 MB / 394.7 MB, free: 47.39 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08963/0.3892, allocations: 86.72 MB / 481.4 MB, free: 5.137 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001768/0.3894, allocations: 75.36 kB / 481.5 MB, free: 5.066 MB / 354.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.07985/0.4693, allocations: 34.4 MB / 0.5038 GB, free: 2.719 MB / 386.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.4693, allocations: 12 kB / 0.5038 GB, free: 2.707 MB / 386.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006292/0.47, allocations: 269.2 kB / 0.5041 GB, free: 2.441 MB / 386.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.4718, allocations: 1.228 MB / 0.5053 GB, free: 1.172 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.377e-05/0.4718, allocations: 68 kB / 0.5053 GB, free: 1.105 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.4721, allocations: 116 kB / 0.5054 GB, free: 0.9922 MB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002739/0.4748, allocations: 1.804 MB / 0.5072 GB, free: 15.18 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003284/0.4781, allocations: 2.255 MB / 0.5094 GB, free: 12.78 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/0.4782, allocations: 11.84 kB / 0.5094 GB, free: 12.77 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.4783, allocations: 4 kB / 0.5094 GB, free: 12.77 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/0.4783, allocations: 52 kB / 0.5095 GB, free: 12.71 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009731/0.4881, allocations: 7.175 MB / 0.5165 GB, free: 5.383 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007513/0.4889, allocations: 0.6132 MB / 0.5171 GB, free: 4.762 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.4904, allocations: 1.15 MB / 0.5182 GB, free: 3.609 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.485e-05/0.4905, allocations: 12.77 kB / 0.5182 GB, free: 3.598 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.4905, allocations: 51.28 kB / 0.5183 GB, free: 3.539 MB / 402.8 MB Notification: Performance of pre-optimization done (n=96): time 2.706e-06/0.4906, allocations: 1.031 kB / 0.5183 GB, free: 3.539 MB / 402.8 MB Notification: Performance of matching and sorting (n=97): time 0.004302/0.4949, allocations: 2.857 MB / 0.521 GB, free: 0.6094 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.4949, allocations: 64.19 kB / 0.5211 GB, free: 0.5352 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008118/0.4957, allocations: 0.6954 MB / 0.5218 GB, free: 15.83 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.4958, allocations: 33.64 kB / 0.5218 GB, free: 15.79 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/0.4961, allocations: 0.7122 MB / 0.5225 GB, free: 15.07 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.4963, allocations: 315.2 kB / 0.5228 GB, free: 14.75 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.4964, allocations: 0 / 0.5228 GB, free: 14.75 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4965, allocations: 345.9 kB / 0.5231 GB, free: 14.41 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/0.4971, allocations: 481.8 kB / 0.5236 GB, free: 13.94 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007198/0.4979, allocations: 0.6447 MB / 0.5242 GB, free: 13.23 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007443/0.4986, allocations: 0.5579 MB / 0.5248 GB, free: 12.67 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4986, allocations: 0 / 0.5248 GB, free: 12.67 MB / 418.8 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002233/0.5009, allocations: 1.536 MB / 0.5263 GB, free: 11.12 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5009, allocations: 8 kB / 0.5263 GB, free: 11.11 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.5009, allocations: 4 kB / 0.5263 GB, free: 11.11 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.5019, allocations: 464.9 kB / 0.5267 GB, free: 10.64 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/0.5027, allocations: 183.7 kB / 0.5269 GB, free: 10.46 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006994/0.5097, allocations: 7.955 MB / 0.5347 GB, free: 2.043 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.5102, allocations: 23.97 kB / 0.5347 GB, free: 2.02 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.009e-05/0.5103, allocations: 36.56 kB / 0.5347 GB, free: 1.984 MB / 418.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.5105, allocations: 131.3 kB / 0.5349 GB, free: 1.852 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.5107, allocations: 98.78 kB / 0.535 GB, free: 1.754 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.5129, allocations: 1.454 MB / 0.5364 GB, free: 288 kB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.5129, allocations: 11.98 kB / 0.5364 GB, free: 276 kB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5129, allocations: 4 kB / 0.5364 GB, free: 272 kB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.5129, allocations: 3.984 kB / 0.5364 GB, free: 268 kB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1502/0.6631, allocations: 3.168 MB / 0.5395 GB, free: 89.41 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.6631, allocations: 7 kB / 0.5395 GB, free: 89.41 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/0.6637, allocations: 129.7 kB / 0.5396 GB, free: 89.41 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008018/0.6645, allocations: 454.5 kB / 0.54 GB, free: 89.38 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/0.6646, allocations: 3.375 kB / 0.5401 GB, free: 89.38 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005394/0.67, allocations: 7.864 MB / 0.5477 GB, free: 84.38 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.67, allocations: 0 / 0.5477 GB, free: 84.38 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002416/0.6724, allocations: 2.261 MB / 0.5499 GB, free: 84.16 MB / 418.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003136/0.6756, allocations: 3.405 MB / 0.5533 GB, free: 83.54 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/0.676, allocations: 276.5 kB / 0.5535 GB, free: 83.45 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.6761, allocations: 7 kB / 0.5535 GB, free: 83.45 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.6765, allocations: 28.5 kB / 0.5536 GB, free: 83.45 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.6767, allocations: 62.73 kB / 0.5536 GB, free: 83.45 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.086e-05/0.6768, allocations: 26.09 kB / 0.5536 GB, free: 83.45 MB / 418.8 MB Notification: Performance of sort global known variables: time 0.0005688/0.6773, allocations: 0.5457 MB / 0.5542 GB, free: 83.35 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.001821/0.6792, allocations: 361.1 kB / 0.5545 GB, free: 83.35 MB / 418.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000244/0.6794, allocations: 150.8 kB / 0.5547 GB, free: 83.27 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.6812, allocations: 1.692 MB / 0.5563 GB, free: 82.79 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.6812, allocations: 0 / 0.5563 GB, free: 82.79 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.6823, allocations: 1.152 MB / 0.5574 GB, free: 82.32 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009281/0.6832, allocations: 227.9 kB / 0.5577 GB, free: 82.32 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/0.6874, allocations: 2.859 MB / 0.5605 GB, free: 81.7 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/0.6885, allocations: 1.81 MB / 0.5622 GB, free: 80.94 MB / 418.8 MB Notification: Performance of SimCode: time 4.01e-07/0.6885, allocations: 3.094 kB / 0.5622 GB, free: 80.94 MB / 418.8 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1)