Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009267/0.0009312, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 175.2 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3182/0.3182, allocations: 43.55 MB / 314.6 MB, free: 8.797 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005012/0.0005015, allocations: 12 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1139, allocations: 58.85 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002733/0.1167, allocations: 2.124 MB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.1179, allocations: 0.6243 MB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.1182, allocations: 4 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.1184, allocations: 27.77 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.1186, allocations: 63.47 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.1189, allocations: 47.95 kB / 445.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.1192, allocations: 262.8 kB / 446 MB, free: 9.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.1194, allocations: 68.78 kB / 446.1 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.1197, allocations: 103.6 kB / 446.2 MB, free: 9.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.1198, allocations: 95.55 kB / 446.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.1199, allocations: 12 kB / 446.3 MB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.191e-05/0.1199, allocations: 12 kB / 446.3 MB, free: 9.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.12, allocations: 43.83 kB / 446.3 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.641e-05/0.1201, allocations: 69.58 kB / 446.4 MB, free: 9.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.1203, allocations: 195.7 kB / 446.6 MB, free: 9.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1203, allocations: 0 / 446.6 MB, free: 9.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1203, allocations: 0 / 446.6 MB, free: 9.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1203, allocations: 0 / 446.6 MB, free: 9.215 MB / 382.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.0007515/0.1211, allocations: 0.5028 MB / 447.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1211, allocations: 12.03 kB / 447.1 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.539e-05/0.1212, allocations: 54.55 kB / 447.2 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.012e-05/0.1213, allocations: 27.67 kB / 447.2 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.1216, allocations: 251.3 kB / 447.4 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1216, allocations: 12.44 kB / 447.5 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.1217, allocations: 27.89 kB / 447.5 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.122, allocations: 195.3 kB / 447.7 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.122, allocations: 0 / 447.7 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.1221, allocations: 8 kB / 447.7 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1221, allocations: 4 kB / 447.7 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.1224, allocations: 149.6 kB / 447.8 MB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.1235, allocations: 0.8103 MB / 448.6 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.1237, allocations: 94.55 kB / 448.7 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.942e-05/0.1238, allocations: 48.84 kB / 448.8 MB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1238, allocations: 4.172 kB / 448.8 MB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1239, allocations: 42.5 kB / 448.8 MB, free: 6.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1239, allocations: 3.938 kB / 448.8 MB, free: 6.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001575/0.1255, allocations: 0.7486 MB / 449.6 MB, free: 5.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.1255, allocations: 59.36 kB / 449.6 MB, free: 5.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.1257, allocations: 207.7 kB / 449.8 MB, free: 5.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1257, allocations: 33.7 kB / 449.9 MB, free: 5.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/0.1258, allocations: 163.8 kB / 450 MB, free: 5.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.1259, allocations: 55.25 kB / 450.1 MB, free: 5.438 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.1259, allocations: 8 kB / 450.1 MB, free: 5.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.126, allocations: 326.8 kB / 450.4 MB, free: 5.102 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1261, allocations: 63.97 kB / 450.5 MB, free: 5.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.1263, allocations: 109.1 kB / 450.6 MB, free: 4.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.1264, allocations: 75.92 kB / 450.7 MB, free: 4.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1264, allocations: 0 / 450.7 MB, free: 4.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004779/0.1269, allocations: 286.9 kB / 450.9 MB, free: 4.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1269, allocations: 4 kB / 450.9 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.127, allocations: 7.984 kB / 450.9 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/0.1272, allocations: 73.83 kB / 451 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.1273, allocations: 35.97 kB / 451.1 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.1293, allocations: 2.811 MB / 453.9 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.1295, allocations: 8 kB / 453.9 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.1295, allocations: 12 kB / 453.9 MB, free: 1.32 MB / 382.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.000119/0.1296, allocations: 137.7 kB / 454 MB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.1297, allocations: 16.2 kB / 454 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.1297, allocations: 33.84 kB / 454.1 MB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1297, allocations: 4 kB / 454.1 MB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1297, allocations: 4 kB / 454.1 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1297, allocations: 3.953 kB / 454.1 MB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.13, allocations: 285.5 kB / 454.4 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.13, allocations: 0 / 454.4 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.018e-05/0.1301, allocations: 19.98 kB / 454.4 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001672/0.1303, allocations: 69.67 kB / 454.4 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1303, allocations: 0 / 454.4 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1966/0.3269, allocations: 2.79 MB / 457.2 MB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3269, allocations: 4.172 kB / 457.2 MB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.3275, allocations: 404.2 kB / 457.6 MB, free: 43.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.3275, allocations: 99.73 kB / 457.7 MB, free: 43.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.3275, allocations: 6.188 kB / 457.7 MB, free: 43.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.3277, allocations: 19.83 kB / 457.8 MB, free: 43.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.3278, allocations: 22.58 kB / 457.8 MB, free: 43.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3278, allocations: 5.312 kB / 457.8 MB, free: 43.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.892e-05/0.3279, allocations: 155.5 kB / 457.9 MB, free: 43.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3279, allocations: 0 / 457.9 MB, free: 43.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003511/0.3283, allocations: 62.47 kB / 458 MB, free: 43.79 MB / 382.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.0006415/0.3289, allocations: 0.932 MB / 458.9 MB, free: 43.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000493/0.3294, allocations: 416.8 kB / 459.3 MB, free: 42.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3294, allocations: 2.875 kB / 459.3 MB, free: 42.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.3297, allocations: 330.9 kB / 459.7 MB, free: 42.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.3301, allocations: 30.14 kB / 459.7 MB, free: 42.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.3321, allocations: 1.398 MB / 461.1 MB, free: 42.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.3322, allocations: 0.749 MB / 461.8 MB, free: 41.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.694e-05/0.3323, allocations: 19.62 kB / 461.9 MB, free: 41.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.367e-05/0.3324, allocations: 67.03 kB / 461.9 MB, free: 41.35 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3324, allocations: 0 / 461.9 MB, free: 41.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.3476, allocations: 4.435 MB / 466.4 MB, free: 40.94 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/0.3478, allocations: 206.4 kB / 466.6 MB, free: 40.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.097, allocations: 0 / 466.6 MB, free: 40.7 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat