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.0009197/0.0009195, allocations: 100.6 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008966/0.0008966, allocations: 199.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2529/0.2529, allocations: 45.92 MB / 344 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002826, allocations: 4 kB / 418 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 63.47 MB / 481.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.002581/0.1356, allocations: 2.071 MB / 483.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1367, allocations: 0.6199 MB / 484.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1368, allocations: 4 kB / 484.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.826e-05/0.1369, allocations: 27.77 kB / 484.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.1371, allocations: 87.73 kB / 484.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.1373, allocations: 51.95 kB / 484.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.1376, allocations: 199.6 kB / 484.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.1378, allocations: 72.16 kB / 484.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.1379, allocations: 99.62 kB / 484.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.1381, allocations: 111.5 kB / 484.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.1381, allocations: 12 kB / 484.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.076e-05/0.1382, allocations: 15.94 kB / 484.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.1383, allocations: 35.84 kB / 484.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.1383, allocations: 69.58 kB / 485 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.1385, allocations: 207.7 kB / 485.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.1385, allocations: 0 / 485.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.646e-06/0.1386, allocations: 3.984 kB / 485.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1386, allocations: 0 / 485.2 MB, free: 1.551 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.0007342/0.1393, allocations: 0.4951 MB / 485.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1394, allocations: 12.03 kB / 485.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.194e-05/0.1394, allocations: 58.53 kB / 485.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.1396, allocations: 39.61 kB / 485.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.1399, allocations: 242.6 kB / 486 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.1399, allocations: 24.38 kB / 486 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.14, allocations: 16 kB / 486.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.1403, allocations: 191.3 kB / 486.2 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1403, allocations: 0 / 486.2 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.1404, allocations: 8 kB / 486.3 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.1404, allocations: 4 kB / 486.3 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.1406, allocations: 149.7 kB / 486.4 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.1419, allocations: 0.8181 MB / 487.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.1421, allocations: 98.53 kB / 487.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.1422, allocations: 3.938 kB / 487.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.1422, allocations: 30.56 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.1422, allocations: 0 / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001708/0.1439, allocations: 0.7552 MB / 488.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.144, allocations: 55.39 kB / 488.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.1442, allocations: 207.8 kB / 488.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1442, allocations: 30.36 kB / 488.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.1443, allocations: 171.7 kB / 488.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.1443, allocations: 55.25 kB / 488.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-06/0.1444, allocations: 3.938 kB / 488.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1445, allocations: 338.8 kB / 489 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.1446, allocations: 63.97 kB / 489 MB, free: 13.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.1448, allocations: 105.1 kB / 489.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1449, allocations: 79.92 kB / 489.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.145, allocations: 4 kB / 489.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004998/0.1455, allocations: 282.9 kB / 489.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1455, allocations: 8 kB / 489.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1455, allocations: 0 / 489.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/0.1457, allocations: 73.83 kB / 489.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1459, allocations: 35.91 kB / 489.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.1481, allocations: 2.832 MB / 492.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.1483, allocations: 12.03 kB / 492.4 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.1483, allocations: 4 kB / 492.4 MB, free: 9.688 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.0001602/0.1484, allocations: 151.7 kB / 492.6 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.1485, allocations: 15.81 kB / 492.6 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.1485, allocations: 17.88 kB / 492.6 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1486, allocations: 8.062 kB / 492.6 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1486, allocations: 0 / 492.6 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1486, allocations: 3.984 kB / 492.6 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.1489, allocations: 289.5 kB / 492.9 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1489, allocations: 0 / 492.9 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.03e-05/0.149, allocations: 19.98 kB / 492.9 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001977/0.1492, allocations: 61.67 kB / 493 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1492, allocations: 15.98 kB / 493 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.1514, allocations: 2.82 MB / 495.8 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1514, allocations: 3.938 kB / 495.8 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006158/0.152, allocations: 408.8 kB / 496.2 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.1521, allocations: 96.94 kB / 496.3 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.1521, allocations: 0 / 496.3 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.1523, allocations: 23.98 kB / 496.3 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.1524, allocations: 15.98 kB / 496.4 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1524, allocations: 0 / 496.4 MB, free: 5.391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1525, allocations: 148.3 kB / 496.5 MB, free: 5.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1525, allocations: 4 kB / 496.5 MB, free: 5.242 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000374/0.1529, allocations: 64 kB / 496.6 MB, free: 5.18 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.0009343/0.1538, allocations: 0.9347 MB / 497.5 MB, free: 4.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006346/0.1545, allocations: 419.8 kB / 497.9 MB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1545, allocations: 0 / 497.9 MB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.1549, allocations: 333.7 kB / 498.2 MB, free: 3.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.1552, allocations: 23.94 kB / 498.3 MB, free: 3.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.1578, allocations: 2.145 MB / 0.4887 GB, free: 1.184 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.1582, allocations: 0.7479 MB / 0.4894 GB, free: 420 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.991e-05/0.1583, allocations: 17.95 kB / 0.4894 GB, free: 404 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.483e-05/0.1584, allocations: 71.41 kB / 0.4895 GB, free: 332 kB / 366.1 MB Notification: Performance of SimCode: time 2.174e-06/0.1584, allocations: 0 / 0.4895 GB, free: 332 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.1737, allocations: 4.402 MB / 0.4938 GB, free: 12.08 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.1739, allocations: 204.5 kB / 0.494 GB, free: 11.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.122, allocations: 0 / 0.494 GB, free: 11.84 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)