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: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008381/0.0008381, allocations: 98.67 kB / 17 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00092/0.0009201, allocations: 190.5 kB / 17.9 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002955, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 63.46 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.002955/0.1403, allocations: 2.176 MB / 483.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1414, allocations: 0.6158 MB / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1415, allocations: 4 kB / 484.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.1417, allocations: 27.77 kB / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.1418, allocations: 63.47 kB / 484.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.1421, allocations: 51.88 kB / 484.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.1423, allocations: 270.8 kB / 484.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.1425, allocations: 64.66 kB / 484.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.1427, allocations: 103.6 kB / 485 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1429, allocations: 103.5 kB / 485.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.143, allocations: 16 kB / 485.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.029e-05/0.1431, allocations: 20 kB / 485.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.1431, allocations: 31.84 kB / 485.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.474e-05/0.1432, allocations: 69.58 kB / 485.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.1434, allocations: 207.7 kB / 485.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.1434, allocations: 0 / 485.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1434, allocations: 0 / 485.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.1434, allocations: 0 / 485.4 MB, free: 1.43 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.0007503/0.1442, allocations: 0.5029 MB / 485.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.1443, allocations: 8.031 kB / 485.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.562e-05/0.1443, allocations: 54.55 kB / 486 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.1445, allocations: 39.61 kB / 486 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.1448, allocations: 238.6 kB / 486.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.1448, allocations: 20.44 kB / 486.3 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.1449, allocations: 19.94 kB / 486.3 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.1453, allocations: 195.3 kB / 486.5 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.1453, allocations: 0 / 486.5 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.1453, allocations: 12 kB / 486.5 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1453, allocations: 4 kB / 486.5 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.1456, allocations: 141.7 kB / 486.6 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.1469, allocations: 0.8297 MB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.1471, allocations: 94.55 kB / 487.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.258e-05/0.1472, allocations: 48.84 kB / 487.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1472, allocations: 0 / 487.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.1472, allocations: 34.56 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.1473, allocations: 4 kB / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.00164/0.1489, allocations: 0.7478 MB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.149, allocations: 55.59 kB / 488.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.1492, allocations: 215.7 kB / 488.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1492, allocations: 33.64 kB / 488.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.526e-05/0.1493, allocations: 171.7 kB / 488.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.1493, allocations: 51.27 kB / 488.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.483e-05/0.1494, allocations: 8 kB / 488.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1495, allocations: 334.8 kB / 489.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1496, allocations: 63.97 kB / 489.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.1498, allocations: 105.1 kB / 489.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.1499, allocations: 70.73 kB / 489.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1499, allocations: 0 / 489.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004913/0.1504, allocations: 290.8 kB / 489.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1505, allocations: 4 kB / 489.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1505, allocations: 4 kB / 489.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002251/0.1507, allocations: 77.77 kB / 489.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.1509, allocations: 31.98 kB / 489.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.1534, allocations: 2.808 MB / 492.7 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.1536, allocations: 15.98 kB / 492.7 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.1536, allocations: 4 kB / 492.7 MB, free: 9.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 (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.0001634/0.1538, allocations: 141.7 kB / 492.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.1538, allocations: 19.75 kB / 492.9 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.1539, allocations: 29.92 kB / 492.9 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1539, allocations: 4.141 kB / 492.9 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1539, allocations: 0 / 492.9 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1539, allocations: 3.984 kB / 492.9 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.1542, allocations: 289.5 kB / 493.2 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1542, allocations: 0 / 493.2 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.09e-05/0.1543, allocations: 15.98 kB / 493.2 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001884/0.1545, allocations: 73.61 kB / 493.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.1546, allocations: 4 kB / 493.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.1569, allocations: 2.812 MB / 496.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1569, allocations: 4.125 kB / 496.1 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.1575, allocations: 400.8 kB / 496.5 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.1576, allocations: 92.95 kB / 496.6 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1577, allocations: 0 / 496.6 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1578, allocations: 23.98 kB / 496.6 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.1579, allocations: 15.97 kB / 496.6 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1579, allocations: 4.062 kB / 496.6 MB, free: 5.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.1581, allocations: 156.2 kB / 496.8 MB, free: 5.102 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1581, allocations: 0 / 496.8 MB, free: 5.102 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003792/0.1585, allocations: 64 kB / 496.8 MB, free: 5.039 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 (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.001056/0.1595, allocations: 0.9353 MB / 497.8 MB, free: 4.074 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000796/0.1604, allocations: 425 kB / 498.2 MB, free: 3.633 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1604, allocations: 0 / 498.2 MB, free: 3.633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004403/0.1608, allocations: 329.7 kB / 498.5 MB, free: 3.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1612, allocations: 26.17 kB / 498.5 MB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.1637, allocations: 1.397 MB / 499.9 MB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.1642, allocations: 0.744 MB / 0.4889 GB, free: 1.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.1643, allocations: 21.94 kB / 0.489 GB, free: 1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.1644, allocations: 67.41 kB / 0.489 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1645, allocations: 0 / 0.489 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.1827, allocations: 4.416 MB / 0.4933 GB, free: 12.68 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/0.183, allocations: 204.6 kB / 0.4935 GB, free: 12.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.169, allocations: 0 / 0.4935 GB, free: 12.45 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)