Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") [: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.001567/0.001567, allocations: 197.3 kB / 8.54 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 225.5 MB / 234.4 MB, free: 3.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009288/0.0009288, allocations: 93.88 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1998/0.1998, allocations: 45.15 MB / 383.4 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.021e-06, allocations: 0 / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 63.25 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3682/0.4902, allocations: 89.04 MB / 0.5907 GB, free: 14.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.4905, allocations: 60.48 kB / 0.5908 GB, free: 14.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01095/0.5015, allocations: 3.857 MB / 0.5945 GB, free: 10.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.5015, allocations: 8 kB / 0.5946 GB, free: 10.92 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007168/0.5023, allocations: 496.8 kB / 0.595 GB, free: 10.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.5023, allocations: 12.03 kB / 0.595 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.5025, allocations: 39.7 kB / 0.5951 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.5029, allocations: 253.3 kB / 0.5953 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.503, allocations: 8 kB / 0.5953 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.503, allocations: 12 kB / 0.5953 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002445/0.5033, allocations: 112.9 kB / 0.5954 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.5035, allocations: 149 kB / 0.5956 GB, free: 9.883 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5036, allocations: 4 kB / 0.5956 GB, free: 9.879 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.5036, allocations: 3.906 kB / 0.5956 GB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.5036, allocations: 8 kB / 0.5956 GB, free: 9.867 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.5049, allocations: 0.7691 MB / 0.5964 GB, free: 9.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.48e-05/0.505, allocations: 51.88 kB / 0.5964 GB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.278e-05/0.5051, allocations: 44.34 kB / 0.5964 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.5051, allocations: 0 / 0.5964 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.5051, allocations: 30.56 kB / 0.5965 GB, free: 9.027 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.5051, allocations: 0 / 0.5965 GB, free: 9.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001346/0.5065, allocations: 0.6103 MB / 0.5971 GB, free: 8.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.5065, allocations: 63.28 kB / 0.5971 GB, free: 8.371 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.5067, allocations: 173.1 kB / 0.5973 GB, free: 8.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.5067, allocations: 25.7 kB / 0.5973 GB, free: 8.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.5068, allocations: 152.9 kB / 0.5975 GB, free: 8.047 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.5069, allocations: 62.72 kB / 0.5975 GB, free: 7.992 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-06/0.5069, allocations: 0 / 0.5975 GB, free: 7.992 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.507, allocations: 325.4 kB / 0.5978 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.807e-05/0.5071, allocations: 48.19 kB / 0.5979 GB, free: 7.645 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.5072, allocations: 89.61 kB / 0.598 GB, free: 7.562 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.983e-05/0.5073, allocations: 58.2 kB / 0.598 GB, free: 7.527 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5073, allocations: 0 / 0.598 GB, free: 7.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003913/0.5077, allocations: 235.5 kB / 0.5982 GB, free: 7.332 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5078, allocations: 4 kB / 0.5983 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.5078, allocations: 4 kB / 0.5983 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002388/0.508, allocations: 66.98 kB / 0.5983 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.5082, allocations: 39.05 kB / 0.5984 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/0.5107, allocations: 2.669 MB / 0.601 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.5108, allocations: 11.98 kB / 0.601 GB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.5109, allocations: 4 kB / 0.601 GB, free: 4.465 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.511, allocations: 108.2 kB / 0.6011 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.511, allocations: 15.81 kB / 0.6011 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.5111, allocations: 24.27 kB / 0.6011 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5111, allocations: 0 / 0.6011 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.5111, allocations: 7.906 kB / 0.6011 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5111, allocations: 0 / 0.6011 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.5114, allocations: 234.9 kB / 0.6014 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5114, allocations: 3.984 kB / 0.6014 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.5115, allocations: 23.25 kB / 0.6014 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001866/0.5117, allocations: 64.73 kB / 0.6014 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.5118, allocations: 4 kB / 0.6014 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.5137, allocations: 2.659 MB / 0.604 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.5137, allocations: 4 kB / 0.604 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004771/0.5142, allocations: 342.3 kB / 0.6044 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.5143, allocations: 100.6 kB / 0.6045 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.5143, allocations: 0 / 0.6045 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.5145, allocations: 15.98 kB / 0.6045 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.5146, allocations: 11.92 kB / 0.6045 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.5146, allocations: 4 kB / 0.6045 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001202/0.5147, allocations: 148.6 kB / 0.6046 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003559/0.5151, allocations: 60 kB / 0.6047 GB, free: 0.6406 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/0.5152, allocations: 99.19 kB / 0.6048 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005227/0.5157, allocations: 346.5 kB / 0.6051 GB, free: 224 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5157, allocations: 0 / 0.6051 GB, free: 224 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.5161, allocations: 279.4 kB / 0.6054 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.5164, allocations: 17.94 kB / 0.6054 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/0.5172, allocations: 334.3 kB / 0.6057 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.5175, allocations: 0.7689 MB / 0.6065 GB, free: 14.82 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5175, allocations: 0 / 0.6065 GB, free: 14.82 MB / 410.7 MB Notification: Performance of Templates: time 0.00561/0.5231, allocations: 2.471 MB / 0.6089 GB, free: 12.37 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)