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.001231/0.001231, allocations: 119.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.09 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 73.31 kB / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1279, allocations: 62.44 MB / 481.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004087/0.132, allocations: 2.591 MB / 484 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.1332, allocations: 0.6622 MB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.1334, allocations: 4 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.1335, allocations: 39.58 kB / 484.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.1337, allocations: 79.33 kB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.134, allocations: 75.83 kB / 484.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.1343, allocations: 290.8 kB / 485.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.1345, allocations: 84.58 kB / 485.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.1346, allocations: 115.6 kB / 485.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.1348, allocations: 127.4 kB / 485.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.1349, allocations: 20 kB / 485.5 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.935e-05/0.1349, allocations: 32 kB / 485.6 MB, free: 452 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.135, allocations: 51.83 kB / 485.6 MB, free: 400 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.1351, allocations: 123.4 kB / 485.7 MB, free: 276 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.1354, allocations: 283 kB / 486 MB, free: 15.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1354, allocations: 0 / 486 MB, free: 15.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1354, allocations: 4 kB / 486 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1355, allocations: 0 / 486 MB, free: 15.98 MB / 366.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.0008001/0.1363, allocations: 0.5301 MB / 486.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1363, allocations: 8.031 kB / 486.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.1365, allocations: 36.64 kB / 486.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.1368, allocations: 263.8 kB / 486.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.1369, allocations: 12.81 kB / 486.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.1369, allocations: 24.28 kB / 486.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.1373, allocations: 203.5 kB / 487.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1373, allocations: 0 / 487.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.1373, allocations: 11.94 kB / 487.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1373, allocations: 4 kB / 487.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.1376, allocations: 145.7 kB / 487.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.1389, allocations: 0.8024 MB / 488 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.1392, allocations: 102.5 kB / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.1393, allocations: 40.84 kB / 488.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1393, allocations: 4 kB / 488.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1393, allocations: 38.69 kB / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.1393, allocations: 4 kB / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001754/0.1411, allocations: 0.7134 MB / 488.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.1412, allocations: 51.41 kB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.1414, allocations: 214.9 kB / 489.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.1414, allocations: 29.7 kB / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1415, allocations: 167.8 kB / 489.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.1416, allocations: 59.19 kB / 489.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/0.1416, allocations: 45.61 kB / 489.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1418, allocations: 334.8 kB / 489.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.1419, allocations: 59.97 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.1421, allocations: 105.1 kB / 490 MB, free: 11.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.1423, allocations: 180.1 kB / 490.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1424, allocations: 0 / 490.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005454/0.1429, allocations: 278.8 kB / 490.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1429, allocations: 8 kB / 490.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1429, allocations: 0 / 490.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/0.1432, allocations: 73.77 kB / 490.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.1434, allocations: 39.97 kB / 490.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.1457, allocations: 3.012 MB / 493.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.1459, allocations: 11.98 kB / 493.6 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.1459, allocations: 4 kB / 493.6 MB, free: 7.797 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.0001286/0.146, allocations: 141.7 kB / 493.7 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.1461, allocations: 19.81 kB / 493.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.1461, allocations: 25.92 kB / 493.7 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1462, allocations: 4 kB / 493.8 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.1462, allocations: 11.88 kB / 493.8 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1462, allocations: 0 / 493.8 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.1465, allocations: 285.4 kB / 494 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1465, allocations: 0 / 494 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.605e-05/0.1466, allocations: 19.98 kB / 494.1 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001717/0.1468, allocations: 65.67 kB / 494.1 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.1468, allocations: 8 kB / 494.1 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.149, allocations: 3.013 MB / 497.1 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.149, allocations: 0 / 497.1 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.1496, allocations: 401.6 kB / 497.5 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.1496, allocations: 92.95 kB / 497.6 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1497, allocations: 4.125 kB / 497.6 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.1498, allocations: 19.98 kB / 497.7 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.1499, allocations: 15.97 kB / 497.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1499, allocations: 8 kB / 497.7 MB, free: 3.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1501, allocations: 148.4 kB / 497.8 MB, free: 3.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1501, allocations: 4 kB / 497.8 MB, free: 3.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003353/0.1504, allocations: 64 kB / 497.9 MB, free: 3.094 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.0001105/0.1505, allocations: 99.25 kB / 498 MB, free: 2.984 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006029/0.1511, allocations: 409.1 kB / 498.4 MB, free: 2.559 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1511, allocations: 320 / 498.4 MB, free: 2.559 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.1515, allocations: 325.4 kB / 498.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.1519, allocations: 35.78 kB / 498.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008931/0.1528, allocations: 0.503 MB / 499.2 MB, free: 1.656 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.1531, allocations: 0.7556 MB / 500 MB, free: 0.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.529e-05/0.1532, allocations: 21.94 kB / 0.4883 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.1532, allocations: 19.44 kB / 0.4883 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1532, allocations: 0 / 0.4883 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of Templates: time 0.005825/0.1591, allocations: 2.685 MB / 0.4909 GB, free: 14.17 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 -s cvode -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)