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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.238/0.238, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 75.91 kB / 417.6 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.129, allocations: 62.45 MB / 480 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.00422/0.1333, allocations: 2.58 MB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1347, allocations: 0.6777 MB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.135, allocations: 4 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.1352, allocations: 39.58 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.1355, allocations: 67.36 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.1358, allocations: 79.83 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003893/0.1362, allocations: 294.8 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.1365, allocations: 80.59 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.1367, allocations: 115.6 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.1369, allocations: 123.5 kB / 484.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.137, allocations: 24 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.203e-05/0.1371, allocations: 31.94 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.1372, allocations: 51.83 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.1373, allocations: 119.4 kB / 484.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.1376, allocations: 287.2 kB / 484.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1377, allocations: 4 kB / 484.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1377, allocations: 0 / 484.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.1377, allocations: 0 / 484.6 MB, free: 0.7305 MB / 350.1 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.0008953/0.1386, allocations: 0.5263 MB / 485.1 MB, free: 160 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1386, allocations: 12.03 kB / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.1388, allocations: 36.64 kB / 485.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.1392, allocations: 251.9 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1392, allocations: 12.81 kB / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.1393, allocations: 28.22 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.1396, allocations: 199.6 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1396, allocations: 3.938 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.1397, allocations: 8 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.1397, allocations: 4 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.14, allocations: 145.7 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.1413, allocations: 0.8024 MB / 486.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.1415, allocations: 102.5 kB / 486.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1416, allocations: 48.83 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.1416, allocations: 4 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.1417, allocations: 38.56 kB / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.625e-06/0.1417, allocations: 0 / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001755/0.1434, allocations: 0.7175 MB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.1435, allocations: 55.41 kB / 487.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.1437, allocations: 218.9 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.1437, allocations: 29.7 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.78e-05/0.1438, allocations: 167.8 kB / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.1439, allocations: 59.19 kB / 488 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.144, allocations: 45.61 kB / 488 MB, free: 12.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1441, allocations: 330.8 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.1442, allocations: 59.97 kB / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.1444, allocations: 105.1 kB / 488.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.1447, allocations: 175.5 kB / 488.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1447, allocations: 0 / 488.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000509/0.1452, allocations: 285.1 kB / 489 MB, free: 11.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1453, allocations: 10.5 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1453, allocations: 4 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002372/0.1455, allocations: 69.61 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.1457, allocations: 32.64 kB / 489.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.1481, allocations: 3.018 MB / 492.1 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.1483, allocations: 12.03 kB / 492.1 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.1483, allocations: 7.984 kB / 492.1 MB, free: 8.535 MB / 366.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.1485, allocations: 141.7 kB / 492.3 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.1485, allocations: 15.81 kB / 492.3 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.1486, allocations: 21.88 kB / 492.3 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1486, allocations: 12 kB / 492.3 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1486, allocations: 3.984 kB / 492.3 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1486, allocations: 0 / 492.3 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.1489, allocations: 285.6 kB / 492.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1489, allocations: 7.984 kB / 492.6 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.158e-05/0.149, allocations: 12 kB / 492.6 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001963/0.1492, allocations: 77.66 kB / 492.7 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1493, allocations: 0 / 492.7 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/0.1515, allocations: 3.017 MB / 495.7 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1516, allocations: 0 / 495.7 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/0.1522, allocations: 403.3 kB / 496.1 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.1522, allocations: 92.92 kB / 496.2 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1523, allocations: 3.938 kB / 496.2 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.1525, allocations: 19.98 kB / 496.2 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.1525, allocations: 15.91 kB / 496.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.1525, allocations: 12.06 kB / 496.2 MB, free: 4.035 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1527, allocations: 152.4 kB / 496.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1527, allocations: 0 / 496.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.153, allocations: 64 kB / 496.5 MB, free: 3.824 MB / 366.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/0.1532, allocations: 99.25 kB / 496.6 MB, free: 3.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006864/0.1539, allocations: 413.1 kB / 497 MB, free: 3.285 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1539, allocations: 0 / 497 MB, free: 3.285 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.1543, allocations: 317.4 kB / 497.3 MB, free: 2.949 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.1547, allocations: 40.09 kB / 497.3 MB, free: 2.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009643/0.1557, allocations: 0.5095 MB / 497.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.156, allocations: 0.7517 MB / 498.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.576e-05/0.1561, allocations: 21.94 kB / 498.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.1562, allocations: 19.42 kB / 498.6 MB, free: 1.559 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1562, allocations: 0 / 498.6 MB, free: 1.559 MB / 366.1 MB Notification: Performance of Templates: time 0.007593/0.1638, allocations: 2.681 MB / 0.4895 GB, free: 14.9 MB / 382.1 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)