Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0101/0.0101, allocations: 163.6 kB / 15.12 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.747/1.747, allocations: 170.8 MB / 186.7 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001758/0.001757, allocations: 102.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.475/0.475, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007466/0.000747, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1179, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003753/0.1217, allocations: 2.143 MB / 413.8 MB, free: 2.547 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1234, allocations: 0.5966 MB / 414.4 MB, free: 1.949 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.1237, allocations: 7.938 kB / 414.4 MB, free: 1.941 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 8.615e-05/0.1238, allocations: 27.81 kB / 414.5 MB, free: 1.914 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.1241, allocations: 75.39 kB / 414.5 MB, free: 1.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.1244, allocations: 47.89 kB / 414.6 MB, free: 1.793 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004375/0.1249, allocations: 274.8 kB / 414.9 MB, free: 1.523 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.1251, allocations: 64.8 kB / 414.9 MB, free: 1.461 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.1254, allocations: 99.62 kB / 415 MB, free: 1.363 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.1256, allocations: 99.55 kB / 415.1 MB, free: 1.266 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.959e-05/0.1257, allocations: 12 kB / 415.1 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.812e-05/0.1257, allocations: 12 kB / 415.1 MB, free: 1.242 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.1258, allocations: 35.84 kB / 415.2 MB, free: 1.207 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.489e-05/0.1259, allocations: 69.58 kB / 415.2 MB, free: 1.133 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.1262, allocations: 203.7 kB / 415.4 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.1262, allocations: 0 / 415.4 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1262, allocations: 3.938 kB / 415.4 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.1263, allocations: 4 kB / 415.4 MB, free: 0.9258 MB / 314.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.001042/0.1273, allocations: 0.5028 MB / 416 MB, free: 384 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.1274, allocations: 8.031 kB / 416 MB, free: 376 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.587e-05/0.1275, allocations: 58.55 kB / 416 MB, free: 308 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.445e-05/0.1276, allocations: 23.72 kB / 416 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.128, allocations: 250.6 kB / 416.3 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.128, allocations: 16.44 kB / 416.3 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.1281, allocations: 16 kB / 416.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.1287, allocations: 191.3 kB / 416.5 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1287, allocations: 0 / 416.5 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.1288, allocations: 12 kB / 416.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1288, allocations: 4 kB / 416.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.1293, allocations: 153.6 kB / 416.7 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.1313, allocations: 0.8103 MB / 417.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.1316, allocations: 98.42 kB / 417.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.1318, allocations: 56.77 kB / 417.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.1318, allocations: 11.98 kB / 417.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.1319, allocations: 30.56 kB / 417.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.655e-06/0.1319, allocations: 0 / 417.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.002841/0.1347, allocations: 0.7522 MB / 418.4 MB, free: 13.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1348, allocations: 51.41 kB / 418.5 MB, free: 13.63 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.1351, allocations: 212 kB / 418.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.1352, allocations: 29.7 kB / 418.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1353, allocations: 171.9 kB / 418.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.1354, allocations: 51.25 kB / 418.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.1354, allocations: 8 kB / 418.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1356, allocations: 334.8 kB / 419.3 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.1359, allocations: 59.97 kB / 419.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.1362, allocations: 122.3 kB / 419.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.1365, allocations: 71.98 kB / 419.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1365, allocations: 4 kB / 419.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009284/0.1374, allocations: 288.5 kB / 419.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.1375, allocations: 10.03 kB / 419.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1375, allocations: 0 / 419.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003754/0.1379, allocations: 69.67 kB / 419.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.1382, allocations: 35.91 kB / 419.9 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003372/0.1416, allocations: 2.796 MB / 422.7 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.1419, allocations: 15.97 kB / 422.7 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.1419, allocations: 8 kB / 422.7 MB, free: 9.043 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 () * 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.0002126/0.1422, allocations: 145.7 kB / 422.9 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.1423, allocations: 23.72 kB / 422.9 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.274e-05/0.1423, allocations: 25.86 kB / 422.9 MB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1423, allocations: 0 / 422.9 MB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.1424, allocations: 4.656 kB / 422.9 MB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1424, allocations: 0 / 422.9 MB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.1429, allocations: 289.5 kB / 423.2 MB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1429, allocations: 0 / 423.2 MB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.1431, allocations: 19.98 kB / 423.2 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003499/0.1435, allocations: 73.61 kB / 423.3 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.1435, allocations: 3.938 kB / 423.3 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003222/0.1467, allocations: 2.8 MB / 426.1 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1468, allocations: 0 / 426.1 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.1479, allocations: 412.7 kB / 426.5 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.1481, allocations: 104.9 kB / 426.6 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.1482, allocations: 4 kB / 426.6 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.1485, allocations: 19.98 kB / 426.6 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.1486, allocations: 16.05 kB / 426.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.1486, allocations: 11.98 kB / 426.7 MB, free: 4.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002113/0.1489, allocations: 148.4 kB / 426.8 MB, free: 4.586 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1489, allocations: 0 / 426.8 MB, free: 4.586 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005226/0.1494, allocations: 64 kB / 426.9 MB, free: 4.523 MB / 330.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 () * 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.001526/0.1509, allocations: 0.9364 MB / 427.8 MB, free: 3.555 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.152, allocations: 409.1 kB / 428.2 MB, free: 3.129 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.1521, allocations: 4.312 kB / 428.2 MB, free: 3.125 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007145/0.1528, allocations: 337.1 kB / 428.5 MB, free: 2.773 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.1533, allocations: 23.98 kB / 428.6 MB, free: 2.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.1568, allocations: 1.409 MB / 430 MB, free: 1.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.1573, allocations: 0.7556 MB / 430.7 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.1575, allocations: 21.94 kB / 430.7 MB, free: 484 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.1577, allocations: 63.42 kB / 430.8 MB, free: 424 kB / 330.7 MB Notification: Performance of SimCode: time 1.333e-06/0.1577, allocations: 0 / 430.8 MB, free: 424 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2908/0.4485, allocations: 4.427 MB / 435.2 MB, free: 45.74 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/0.4488, allocations: 208.3 kB / 435.4 MB, free: 45.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.043, allocations: 1.312 kB / 435.4 MB, free: 45.5 MB / 330.7 MB "" Variables in the reference:time,basicTransformer.i1,basicTransformer.i2 Variables in the result:L,basicTransformer.L1,basicTransformer.L2,basicTransformer.M,basicTransformer.dv,basicTransformer.i1,basicTransformer.i2,basicTransformer.n1.i,basicTransformer.n1.v,basicTransformer.n2.i,basicTransformer.n2.v,basicTransformer.p1.i,basicTransformer.p1.v,basicTransformer.p2.i,basicTransformer.p2.v,basicTransformer.v1,basicTransformer.v2,der(basicTransformer.i1),der(basicTransformer.i2),der(basicTransformer.v2),der(load1.v),der(resistor11.v),der(resistor12.v),der(sineVoltage1.v),ground1.p.i,ground1.p.v,ground2.p.i,ground2.p.v,load1.LossPower,load1.R,load1.R_actual,load1.T,load1.T_heatPort,load1.T_ref,load1.alpha,load1.i,load1.n.i,load1.n.v,load1.p.i,load1.p.v,load1.useHeatPort,load1.v,resistor11.LossPower,resistor11.R,resistor11.R_actual,resistor11.T,resistor11.T_heatPort,resistor11.T_ref,resistor11.alpha,resistor11.i,resistor11.n.i,resistor11.n.v,resistor11.p.i,resistor11.p.v,resistor11.useHeatPort,resistor11.v,resistor12.LossPower,resistor12.R,resistor12.R_actual,resistor12.T,resistor12.T_heatPort,resistor12.T_ref,resistor12.alpha,resistor12.i,resistor12.n.i,resistor12.n.v,resistor12.p.i,resistor12.p.v,resistor12.useHeatPort,resistor12.v,sineVoltage1.V,sineVoltage1.freqHz,sineVoltage1.i,sineVoltage1.n.i,sineVoltage1.n.v,sineVoltage1.offset,sineVoltage1.p.i,sineVoltage1.p.v,sineVoltage1.phase,sineVoltage1.signalSource.amplitude,sineVoltage1.signalSource.freqHz,sineVoltage1.signalSource.offset,sineVoltage1.signalSource.phase,sineVoltage1.signalSource.startTime,sineVoltage1.signalSource.y,sineVoltage1.startTime,sineVoltage1.v,time