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.0009342/0.0009343, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009814/0.0009815, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.7 MB / 246.8 MB, free: 9.547 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.195/0.195, allocations: 46.18 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.107, allocations: 63.56 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.00254/0.1096, allocations: 2.261 MB / 485.4 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009287/0.1105, allocations: 0.6662 MB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.291e-05/0.1106, allocations: 4 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.1108, allocations: 27.77 kB / 486.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.1109, allocations: 71.45 kB / 486.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.1111, allocations: 59.94 kB / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.1114, allocations: 274.8 kB / 486.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1116, allocations: 80.89 kB / 486.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.1117, allocations: 99.58 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1119, allocations: 111.5 kB / 486.8 MB, free: 388 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.1119, allocations: 12 kB / 486.8 MB, free: 376 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.977e-05/0.112, allocations: 12 kB / 486.8 MB, free: 364 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.792e-05/0.112, allocations: 39.84 kB / 486.9 MB, free: 324 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.1121, allocations: 137.1 kB / 487 MB, free: 180 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.1124, allocations: 275.1 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1124, allocations: 0 / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1124, allocations: 4 kB / 487.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1124, allocations: 0 / 487.3 MB, free: 15.9 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.0006267/0.1131, allocations: 0.499 MB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1131, allocations: 12.88 kB / 487.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.387e-05/0.1132, allocations: 58.73 kB / 487.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.1133, allocations: 40.64 kB / 487.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.1136, allocations: 239.9 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1136, allocations: 16.81 kB / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.1136, allocations: 16.38 kB / 488.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.114, allocations: 199.4 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.114, allocations: 0 / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.114, allocations: 12 kB / 488.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.114, allocations: 11.94 kB / 488.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.1143, allocations: 141.7 kB / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.1155, allocations: 0.8142 MB / 489.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.1157, allocations: 102.4 kB / 489.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1159, allocations: 56.83 kB / 489.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1159, allocations: 4 kB / 489.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1159, allocations: 30.56 kB / 489.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1159, allocations: 0 / 489.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001702/0.1176, allocations: 0.7531 MB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.1177, allocations: 59.34 kB / 490.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1179, allocations: 215 kB / 490.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1179, allocations: 29.73 kB / 490.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.831e-05/0.118, allocations: 175.7 kB / 490.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.118, allocations: 55.2 kB / 490.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.1181, allocations: 21.72 kB / 490.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.1182, allocations: 334.8 kB / 491.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1183, allocations: 63.97 kB / 491.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.1185, allocations: 117 kB / 491.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.1188, allocations: 177.1 kB / 491.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1188, allocations: 0 / 491.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005097/0.1193, allocations: 297 kB / 491.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1194, allocations: 8 kB / 491.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1194, allocations: 0 / 491.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.1196, allocations: 69.83 kB / 491.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1198, allocations: 35.92 kB / 491.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.1217, allocations: 2.801 MB / 494.7 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.1219, allocations: 15.97 kB / 494.7 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.1219, allocations: 8 kB / 494.7 MB, free: 7.844 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.0001121/0.122, allocations: 133.8 kB / 494.8 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.1221, allocations: 19.81 kB / 494.9 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.1221, allocations: 25.88 kB / 494.9 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1221, allocations: 4 kB / 494.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1221, allocations: 4 kB / 494.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1221, allocations: 3.984 kB / 494.9 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.1224, allocations: 277.7 kB / 495.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1224, allocations: 8 kB / 495.2 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.1225, allocations: 19.92 kB / 495.2 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001837/0.1227, allocations: 77.56 kB / 495.3 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.1228, allocations: 7.938 kB / 495.3 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.1246, allocations: 2.796 MB / 498.1 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1247, allocations: 0 / 498.1 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006125/0.1253, allocations: 429.5 kB / 498.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.1253, allocations: 88.95 kB / 498.6 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.1254, allocations: 4 kB / 498.6 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.1256, allocations: 19.98 kB / 498.6 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.1256, allocations: 15.97 kB / 498.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.1256, allocations: 4 kB / 498.6 MB, free: 3.559 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1258, allocations: 164.4 kB / 498.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1258, allocations: 0 / 498.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003319/0.1261, allocations: 64 kB / 498.8 MB, free: 3.336 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.0008399/0.1269, allocations: 0.9401 MB / 499.8 MB, free: 2.359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005762/0.1275, allocations: 409.3 kB / 0.4885 GB, free: 1.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1275, allocations: 3.938 kB / 0.4885 GB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.1279, allocations: 337.5 kB / 0.4888 GB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1283, allocations: 31.84 kB / 0.4888 GB, free: 1.543 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.1312, allocations: 2.632 MB / 0.4914 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1315, allocations: 0.7479 MB / 0.4921 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.796e-05/0.1316, allocations: 13.95 kB / 0.4921 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/0.1317, allocations: 71.41 kB / 0.4922 GB, free: 13.93 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1317, allocations: 0 / 0.4922 GB, free: 13.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.1463, allocations: 4.561 MB / 0.4967 GB, free: 9.535 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.1465, allocations: 226.5 kB / 0.4969 GB, free: 9.281 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/1.909, allocations: 0 / 0.4969 GB, free: 9.281 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/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)