Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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) 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(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_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 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 175.3 kB / 8.473 MB, free: 1.875 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.073/1.073, allocations: 205.2 MB / 214.1 MB, free: 5.094 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 78.33 kB / 262.1 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1652/0.1663, allocations: 52.98 MB / 315.1 MB, free: 41.4 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06157/0.2279, allocations: 47.57 MB / 362.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.4248, allocations: 79.66 MB / 442.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001675/0.425, allocations: 71.98 kB / 442.4 MB, free: 10.75 MB / 314.7 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.04143/0.4664, allocations: 19.44 MB / 461.8 MB, free: 4.125 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.4665, allocations: 9 kB / 461.8 MB, free: 4.125 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004319/0.4669, allocations: 138.9 kB / 461.9 MB, free: 4.059 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.4686, allocations: 0.8686 MB / 462.8 MB, free: 3.637 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.045e-05/0.4686, allocations: 34.97 kB / 462.8 MB, free: 3.637 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.4688, allocations: 66.78 kB / 462.9 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001676/0.4705, allocations: 1.149 MB / 464.1 MB, free: 3.504 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.4723, allocations: 1.339 MB / 465.4 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.4724, allocations: 5.531 kB / 465.4 MB, free: 3.098 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.275e-05/0.4725, allocations: 0 / 465.4 MB, free: 3.098 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.4725, allocations: 35.34 kB / 465.4 MB, free: 3.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005777/0.4783, allocations: 4.088 MB / 469.5 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.479, allocations: 0.5471 MB / 470.1 MB, free: 1.109 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006604/0.4796, allocations: 0.5152 MB / 470.6 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.4797, allocations: 9.406 kB / 470.6 MB, free: 1.023 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.4797, allocations: 37.03 kB / 470.6 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 2.134e-06/0.4797, allocations: 1.031 kB / 470.6 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.002404/0.4821, allocations: 1.637 MB / 472.3 MB, free: 300 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.4821, allocations: 57.66 kB / 472.3 MB, free: 236 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009814/0.4831, allocations: 0.6942 MB / 473 MB, free: 20 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.401e-05/0.4832, allocations: 25.7 kB / 473 MB, free: 15.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.4836, allocations: 460.8 kB / 473.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.4837, allocations: 177.7 kB / 473.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.4837, allocations: 0 / 473.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.484, allocations: 379.2 kB / 474 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/0.4844, allocations: 298.1 kB / 474.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.4849, allocations: 403.5 kB / 474.7 MB, free: 14.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.4854, allocations: 367.4 kB / 475.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4854, allocations: 0 / 475.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001195/0.4866, allocations: 0.8701 MB / 476 MB, free: 14.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.4866, allocations: 4 kB / 476 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4867, allocations: 4.312 kB / 476 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/0.4869, allocations: 113.9 kB / 476.1 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/0.4875, allocations: 123.2 kB / 476.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.4894, allocations: 2.061 MB / 478.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.4898, allocations: 19.89 kB / 478.3 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.4899, allocations: 26.06 kB / 478.3 MB, free: 11.98 MB / 330.7 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.0001348/0.49, allocations: 108.9 kB / 478.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.4902, allocations: 71.16 kB / 478.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.4903, allocations: 84.34 kB / 478.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4903, allocations: 4 kB / 478.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.4904, allocations: 4 kB / 478.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4904, allocations: 3.938 kB / 478.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002778/0.4932, allocations: 1.847 MB / 480.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.4932, allocations: 4.062 kB / 480.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.4936, allocations: 99.72 kB / 480.5 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000227/0.4938, allocations: 107 kB / 480.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.4939, allocations: 10.98 kB / 480.6 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.4957, allocations: 2.048 MB / 482.7 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.4957, allocations: 3.906 kB / 482.7 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001485/0.4972, allocations: 1.268 MB / 484 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002104/0.4993, allocations: 2.054 MB / 486 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.4995, allocations: 156.2 kB / 486.2 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.4997, allocations: 7.984 kB / 486.2 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.5001, allocations: 44.03 kB / 486.2 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.5002, allocations: 28.39 kB / 486.2 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.5002, allocations: 16 kB / 486.3 MB, free: 4.949 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0006632/0.5009, allocations: 0.5381 MB / 486.8 MB, free: 4.418 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001348/0.5023, allocations: 195.8 kB / 487 MB, free: 4.227 MB / 330.7 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.0001728/0.5024, allocations: 107.2 kB / 487.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.5036, allocations: 0.7782 MB / 487.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5036, allocations: 0 / 487.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006367/0.5043, allocations: 468 kB / 488.3 MB, free: 2.859 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/0.505, allocations: 135 kB / 488.5 MB, free: 2.723 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.5083, allocations: 1.774 MB / 490.2 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/0.5095, allocations: 1.41 MB / 491.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5095, allocations: 4 kB / 491.6 MB, free: 15.46 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat