Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",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.001256/0.001256, allocations: 203.8 kB / 8.536 MB, free: 468 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.125/1.125, allocations: 225.5 MB / 234.4 MB, free: 9.469 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008741/0.000874, allocations: 102 kB / 286.3 MB, free: 5.855 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 0.09657/0.09748, allocations: 56.88 MB / 343.2 MB, free: 12.95 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2974, allocations: 51.45 MB / 394.7 MB, free: 47.43 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08227/0.3798, allocations: 81.8 MB / 476.5 MB, free: 10.05 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001517/0.3799, allocations: 75.69 kB / 476.6 MB, free: 9.98 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.04649/0.4264, allocations: 20 MB / 496.6 MB, free: 6.004 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.4265, allocations: 8.844 kB / 496.6 MB, free: 5.996 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004931/0.427, allocations: 178.4 kB / 496.7 MB, free: 5.82 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.4283, allocations: 0.8647 MB / 497.6 MB, free: 4.914 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.4283, allocations: 36 kB / 497.6 MB, free: 4.879 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.4284, allocations: 64 kB / 497.7 MB, free: 4.816 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00168/0.4301, allocations: 1.133 MB / 498.8 MB, free: 3.68 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.432, allocations: 1.328 MB / 0.4884 GB, free: 2.285 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.4321, allocations: 7.891 kB / 0.4885 GB, free: 2.277 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.289e-05/0.4321, allocations: 0 / 0.4885 GB, free: 2.277 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.4322, allocations: 28.75 kB / 0.4885 GB, free: 2.25 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005688/0.4379, allocations: 4.074 MB / 0.4925 GB, free: 14.07 MB / 386.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.4385, allocations: 0.5446 MB / 0.493 GB, free: 13.52 MB / 386.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006933/0.4392, allocations: 0.5219 MB / 0.4935 GB, free: 12.98 MB / 386.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.4393, allocations: 12.42 kB / 0.4935 GB, free: 12.97 MB / 386.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.4393, allocations: 43 kB / 0.4936 GB, free: 12.92 MB / 386.8 MB Notification: Performance of pre-optimization done (n=49): time 1.924e-06/0.4393, allocations: 0 / 0.4936 GB, free: 12.92 MB / 386.8 MB Notification: Performance of matching and sorting (n=51): time 0.002357/0.4417, allocations: 1.625 MB / 0.4951 GB, free: 11.24 MB / 386.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.4417, allocations: 60.78 kB / 0.4952 GB, free: 11.17 MB / 386.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000776/0.4425, allocations: 0.6985 MB / 0.4959 GB, free: 10.46 MB / 386.8 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.4425, allocations: 25.7 kB / 0.4959 GB, free: 10.43 MB / 386.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.4428, allocations: 454.4 kB / 0.4963 GB, free: 9.98 MB / 386.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.4429, allocations: 165.6 kB / 0.4965 GB, free: 9.816 MB / 386.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.4429, allocations: 0 / 0.4965 GB, free: 9.816 MB / 386.8 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4431, allocations: 382.7 kB / 0.4969 GB, free: 9.434 MB / 386.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.4435, allocations: 301.1 kB / 0.4972 GB, free: 9.137 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/0.4439, allocations: 395 kB / 0.4975 GB, free: 8.711 MB / 386.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.4443, allocations: 361.2 kB / 0.4979 GB, free: 8.363 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4444, allocations: 4.938 kB / 0.4979 GB, free: 8.359 MB / 386.8 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001168/0.4455, allocations: 0.8674 MB / 0.4987 GB, free: 7.48 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4456, allocations: 8 kB / 0.4987 GB, free: 7.473 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4456, allocations: 3.938 kB / 0.4987 GB, free: 7.469 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/0.4458, allocations: 112.8 kB / 0.4988 GB, free: 7.355 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.4464, allocations: 128.6 kB / 0.499 GB, free: 7.23 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.4483, allocations: 2.059 MB / 0.501 GB, free: 5.059 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.4486, allocations: 20.92 kB / 0.501 GB, free: 5.039 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.4487, allocations: 16 kB / 0.501 GB, free: 5.023 MB / 386.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.4488, allocations: 120.8 kB / 0.5011 GB, free: 4.898 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.4489, allocations: 71.16 kB / 0.5012 GB, free: 4.828 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.4491, allocations: 86.55 kB / 0.5013 GB, free: 4.738 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4491, allocations: 4 kB / 0.5013 GB, free: 4.734 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4491, allocations: 4 kB / 0.5013 GB, free: 4.73 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.4491, allocations: 3.984 kB / 0.5013 GB, free: 4.727 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/0.4517, allocations: 1.829 MB / 0.5031 GB, free: 2.832 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4517, allocations: 1.062 kB / 0.5031 GB, free: 2.832 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.4522, allocations: 104 kB / 0.5032 GB, free: 2.73 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/0.4524, allocations: 108 kB / 0.5033 GB, free: 2.625 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.4524, allocations: 4 kB / 0.5033 GB, free: 2.621 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.4542, allocations: 2.045 MB / 0.5053 GB, free: 476 kB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4542, allocations: 0 / 0.5053 GB, free: 476 kB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001425/0.4557, allocations: 1.278 MB / 0.5065 GB, free: 15.12 MB / 402.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001928/0.4576, allocations: 2.043 MB / 0.5085 GB, free: 13.01 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.4578, allocations: 160.2 kB / 0.5087 GB, free: 12.83 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.4579, allocations: 8.922 kB / 0.5087 GB, free: 12.82 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.4583, allocations: 40.03 kB / 0.5087 GB, free: 12.79 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.4584, allocations: 28.39 kB / 0.5087 GB, free: 12.76 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.4585, allocations: 23.98 kB / 0.5088 GB, free: 12.73 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.0005932/0.4591, allocations: 0.5342 MB / 0.5093 GB, free: 12.21 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.001297/0.4604, allocations: 192 kB / 0.5095 GB, free: 12.02 MB / 402.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001604/0.4605, allocations: 111.1 kB / 0.5096 GB, free: 11.9 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.4616, allocations: 0.7822 MB / 0.5103 GB, free: 11.11 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4616, allocations: 0 / 0.5103 GB, free: 11.11 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006213/0.4622, allocations: 463.1 kB / 0.5108 GB, free: 10.64 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006825/0.4629, allocations: 144.6 kB / 0.5109 GB, free: 10.5 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.4658, allocations: 1.76 MB / 0.5126 GB, free: 8.703 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/0.4668, allocations: 1.416 MB / 0.514 GB, free: 7.262 MB / 402.8 MB Notification: Performance of SimCode: time 4.1e-07/0.4669, allocations: 0 / 0.514 GB, free: 7.262 MB / 402.8 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat