Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer") [: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.1+maint.om/package.mo): time 0.005147/0.005147, allocations: 175.6 kB / 7.451 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.28/1.28, allocations: 170.6 MB / 178.4 MB, free: 15.36 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001699/0.001698, allocations: 115.8 kB / 217.7 MB, free: 8.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1958/0.1958, allocations: 37.96 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.093e-06/7.123e-06, allocations: 0 / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 48.72 MB / 398.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4/0.5223, allocations: 75.17 MB / 473.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004309/0.5229, allocations: 63.31 kB / 473.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01142/0.5343, allocations: 3.63 MB / 477.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.406e-05/0.5344, allocations: 7.781 kB / 477.1 MB, free: 13.03 MB / 330.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.0008452/0.5352, allocations: 0.4916 MB / 477.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.5353, allocations: 11.69 kB / 477.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.5354, allocations: 23.22 kB / 477.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.5359, allocations: 249.9 kB / 477.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.536, allocations: 7.875 kB / 477.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.536, allocations: 15.5 kB / 477.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002946/0.5363, allocations: 116.6 kB / 478 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.5366, allocations: 151.6 kB / 478.1 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.5367, allocations: 0 / 478.1 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.5367, allocations: 0 / 478.1 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.5367, allocations: 11.56 kB / 478.1 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.5382, allocations: 0.7707 MB / 478.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.5383, allocations: 48.39 kB / 479 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.631e-05/0.5384, allocations: 43.94 kB / 479 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.5384, allocations: 0 / 479 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.5385, allocations: 37.22 kB / 479 MB, free: 11.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.113e-06/0.5385, allocations: 0 / 479 MB, free: 11.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001549/0.54, allocations: 0.6034 MB / 479.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.5401, allocations: 55.19 kB / 479.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.5403, allocations: 179 kB / 479.9 MB, free: 11.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.5403, allocations: 25.7 kB / 479.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.5404, allocations: 156.1 kB / 480 MB, free: 11.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.5405, allocations: 54.83 kB / 480.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.5405, allocations: 4 kB / 480.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5406, allocations: 328.8 kB / 480.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.5407, allocations: 48.78 kB / 480.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.986e-05/0.5408, allocations: 90.66 kB / 480.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.789e-05/0.5409, allocations: 58.42 kB / 480.6 MB, free: 10.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5409, allocations: 0 / 480.6 MB, free: 10.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003895/0.5413, allocations: 233.3 kB / 480.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.5414, allocations: 6.031 kB / 480.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5414, allocations: 3.5 kB / 480.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002326/0.5416, allocations: 69.06 kB / 480.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.5418, allocations: 34.83 kB / 481 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.5438, allocations: 2.665 MB / 483.6 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.544, allocations: 3.719 kB / 483.6 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.544, allocations: 16.88 kB / 483.6 MB, free: 8.273 MB / 330.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.0001038/0.5441, allocations: 104.9 kB / 483.7 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.5442, allocations: 23.03 kB / 483.8 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.5442, allocations: 22 kB / 483.8 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5443, allocations: 0 / 483.8 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.5443, allocations: 3.625 kB / 483.8 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.5443, allocations: 384 / 483.8 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.5446, allocations: 245.4 kB / 484 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5446, allocations: 0 / 484 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.755e-05/0.5447, allocations: 14.52 kB / 484 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000185/0.5449, allocations: 71.31 kB / 484.1 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.5449, allocations: 6.594 kB / 484.1 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.547, allocations: 2.653 MB / 486.8 MB, free: 21.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.547, allocations: 4.062 kB / 486.8 MB, free: 21.54 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00049/0.5475, allocations: 348.4 kB / 487.1 MB, free: 21.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.5477, allocations: 103 kB / 487.2 MB, free: 21.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.5477, allocations: 3.938 kB / 487.2 MB, free: 21.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.5479, allocations: 25.86 kB / 487.2 MB, free: 21.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.548, allocations: 10.64 kB / 487.3 MB, free: 21.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.548, allocations: 3.844 kB / 487.3 MB, free: 21.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000116/0.5481, allocations: 132.5 kB / 487.4 MB, free: 21.19 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003994/0.5485, allocations: 53.88 kB / 487.4 MB, free: 21.19 MB / 346.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.000183/0.5487, allocations: 101.2 kB / 487.5 MB, free: 21.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005409/0.5493, allocations: 344.5 kB / 487.9 MB, free: 20.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5493, allocations: 0 / 487.9 MB, free: 20.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003607/0.5497, allocations: 284.2 kB / 488.2 MB, free: 20.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.5499, allocations: 18.89 kB / 488.2 MB, free: 20.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.5507, allocations: 341.5 kB / 488.5 MB, free: 20.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/0.5512, allocations: 0.7667 MB / 489.3 MB, free: 19.8 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5512, allocations: 0 / 489.3 MB, free: 19.8 MB / 346.7 MB Notification: Performance of Templates: time 0.006452/0.5576, allocations: 2.478 MB / 491.8 MB, free: 19.6 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1)