Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",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.001383/0.001383, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.142/1.142, allocations: 225.5 MB / 234.4 MB, free: 3.371 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008864/0.0008864, allocations: 92.77 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09555/0.09648, allocations: 56.9 MB / 343.2 MB, free: 8.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08045/0.1769, allocations: 51.48 MB / 394.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2165/0.3934, allocations: 82.03 MB / 476.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.3936, allocations: 71.34 kB / 476.8 MB, free: 10.5 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.04625/0.4399, allocations: 20.5 MB / 497.3 MB, free: 9.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.44, allocations: 15.98 kB / 497.3 MB, free: 9.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008341/0.4408, allocations: 182.3 kB / 497.5 MB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.4427, allocations: 0.9101 MB / 498.4 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.4427, allocations: 40 kB / 498.5 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.4429, allocations: 67.91 kB / 498.5 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001769/0.4447, allocations: 1.141 MB / 499.7 MB, free: 8.035 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.4467, allocations: 1.342 MB / 0.4893 GB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.4468, allocations: 2.531 kB / 0.4893 GB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.4469, allocations: 0 / 0.4893 GB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.4469, allocations: 28 kB / 0.4893 GB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005922/0.4528, allocations: 4.13 MB / 0.4933 GB, free: 3.672 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.4535, allocations: 0.5505 MB / 0.4939 GB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008511/0.4544, allocations: 0.6029 MB / 0.4944 GB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.4544, allocations: 4.438 kB / 0.4945 GB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.4545, allocations: 50.89 kB / 0.4945 GB, free: 2.742 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 3.286e-06/0.4545, allocations: 0 / 0.4945 GB, free: 2.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.0009108/0.4554, allocations: 0.5764 MB / 0.4951 GB, free: 2.156 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.4554, allocations: 59.84 kB / 0.4951 GB, free: 2.086 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/0.4563, allocations: 0.683 MB / 0.4958 GB, free: 1.398 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.4563, allocations: 29.64 kB / 0.4958 GB, free: 1.363 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.4566, allocations: 454.4 kB / 0.4963 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.4567, allocations: 173.4 kB / 0.4964 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.4567, allocations: 4 kB / 0.4964 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.4569, allocations: 386.8 kB / 0.4968 GB, free: 356 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.4572, allocations: 277.2 kB / 0.4971 GB, free: 80 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.4576, allocations: 374.2 kB / 0.4974 GB, free: 15.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.4581, allocations: 345.2 kB / 0.4977 GB, free: 15.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4581, allocations: 0 / 0.4977 GB, free: 15.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009698/0.459, allocations: 0.7687 MB / 0.4985 GB, free: 14.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.4591, allocations: 4 kB / 0.4985 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4591, allocations: 4 kB / 0.4985 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4591, allocations: 4 kB / 0.4985 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.4597, allocations: 156.1 kB / 0.4987 GB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.4598, allocations: 6.906 kB / 0.4987 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.4601, allocations: 47.52 kB / 0.4987 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.4602, allocations: 23.91 kB / 0.4987 GB, free: 14.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.4603, allocations: 108.9 kB / 0.4988 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.4604, allocations: 79.14 kB / 0.4989 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.4605, allocations: 82.61 kB / 0.499 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.4606, allocations: 11.98 kB / 0.499 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4606, allocations: 0 / 0.499 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4606, allocations: 0 / 0.499 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.4629, allocations: 1.715 MB / 0.5007 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.463, allocations: 4.094 kB / 0.5007 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/0.4635, allocations: 123.9 kB / 0.5008 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.4635, allocations: 7.906 kB / 0.5008 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.4636, allocations: 4 kB / 0.5008 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4636, allocations: 0 / 0.5008 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.4636, allocations: 11.92 kB / 0.5008 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001176/0.4648, allocations: 1.08 MB / 0.5019 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001616/0.4664, allocations: 1.837 MB / 0.5037 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.4666, allocations: 168.1 kB / 0.5038 GB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.4667, allocations: 4 kB / 0.5038 GB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/0.4672, allocations: 39.97 kB / 0.5039 GB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.909e-05/0.4673, allocations: 40.3 kB / 0.5039 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.4673, allocations: 19.92 kB / 0.5039 GB, free: 8.824 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0007039/0.468, allocations: 0.5303 MB / 0.5044 GB, free: 8.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001302/0.4693, allocations: 266.7 kB / 0.5047 GB, free: 8.039 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,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 (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001871/0.4695, allocations: 111.1 kB / 0.5048 GB, free: 7.918 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00086/0.4704, allocations: 0.6129 MB / 0.5054 GB, free: 7.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4704, allocations: 0 / 0.5054 GB, free: 7.305 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.4708, allocations: 297.4 kB / 0.5057 GB, free: 7.016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/0.4715, allocations: 141.6 kB / 0.5058 GB, free: 6.883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.4751, allocations: 1.829 MB / 0.5076 GB, free: 5.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/0.4764, allocations: 1.417 MB / 0.509 GB, free: 3.578 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4764, allocations: 0 / 0.509 GB, free: 3.578 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat