Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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) 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(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",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.0009343/0.0009339, allocations: 101.9 kB / 16.95 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 183 kB / 17.84 MB, free: 6.008 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.682/1.682, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.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.0005007/0.0005008, allocations: 8 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1218, allocations: 47.57 MB / 328.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008909/0.1308, allocations: 6.746 MB / 335.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006729/0.1375, allocations: 2.584 MB / 337.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.1389, allocations: 55.62 kB / 337.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.1402, allocations: 437.2 kB / 338.3 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.1422, allocations: 0.6334 MB / 338.9 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008496/0.1431, allocations: 295.6 kB / 339.2 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005181/0.1483, allocations: 3.464 MB / 342.6 MB, free: 5.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003315/0.1516, allocations: 2.364 MB / 345 MB, free: 3.332 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002757/0.1544, allocations: 1.179 MB / 346.2 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002746/0.1571, allocations: 1.615 MB / 347.8 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000388/0.1575, allocations: 192 kB / 348 MB, free: 348 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.1586, allocations: 367.8 kB / 348.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.1597, allocations: 0.9073 MB / 349.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009674/0.1606, allocations: 0.6641 MB / 349.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005076/0.1657, allocations: 4.955 MB / 354.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.1658, allocations: 0 / 354.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1658, allocations: 0 / 354.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001633/0.1659, allocations: 4 kB / 354.9 MB, free: 9.426 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.007607/0.1736, allocations: 3.186 MB / 358.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.1736, allocations: 12.03 kB / 358.1 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001005/0.1746, allocations: 425.7 kB / 358.5 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.1757, allocations: 399.7 kB / 358.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/0.1792, allocations: 1.889 MB / 360.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.1794, allocations: 225.8 kB / 361 MB, free: 3.176 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004478/0.1799, allocations: 287.9 kB / 361.3 MB, free: 2.895 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007915/0.1878, allocations: 4.167 MB / 365.4 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/0.1879, allocations: 4 kB / 365.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003348/0.1882, allocations: 116 kB / 365.6 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/0.1884, allocations: 137.9 kB / 365.7 MB, free: 14.42 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006652/0.1951, allocations: 3.47 MB / 369.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2361/0.4312, allocations: 11.01 MB / 380.2 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004121/0.4354, allocations: 2.633 MB / 382.8 MB, free: 44.87 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002925/0.4383, allocations: 1.498 MB / 384.3 MB, free: 44.85 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.4386, allocations: 122.5 kB / 384.4 MB, free: 44.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.4387, allocations: 55.31 kB / 384.5 MB, free: 44.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.047e-06/0.4387, allocations: 5.625 kB / 384.5 MB, free: 44.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01097/0.4497, allocations: 5.305 MB / 389.8 MB, free: 43.03 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.4498, allocations: 91.17 kB / 389.9 MB, free: 42.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/0.4532, allocations: 1.899 MB / 391.8 MB, free: 42.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.4534, allocations: 50.59 kB / 391.8 MB, free: 42.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.4545, allocations: 1.318 MB / 393.1 MB, free: 41.2 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000397/0.4549, allocations: 459.5 kB / 393.6 MB, free: 40.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.455, allocations: 30.66 kB / 393.6 MB, free: 40.83 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4551, allocations: 369.6 kB / 394 MB, free: 40.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.4562, allocations: 0.8154 MB / 394.8 MB, free: 40.22 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.4576, allocations: 1.186 MB / 396 MB, free: 39.49 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.4589, allocations: 1.017 MB / 397 MB, free: 39.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.459, allocations: 3.281 kB / 397 MB, free: 39.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003769/0.4627, allocations: 2.531 MB / 399.5 MB, free: 38.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.4628, allocations: 8 kB / 399.5 MB, free: 38.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.4628, allocations: 13.81 kB / 399.6 MB, free: 38.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/0.4646, allocations: 488.9 kB / 400 MB, free: 37.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.4659, allocations: 328.4 kB / 400.4 MB, free: 37.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/0.47, allocations: 4.065 MB / 404.4 MB, free: 35.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.4714, allocations: 92.27 kB / 404.5 MB, free: 35.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.4715, allocations: 60.28 kB / 404.6 MB, free: 35 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001732/0.4733, allocations: 1.049 MB / 405.6 MB, free: 34.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004108/0.4737, allocations: 190.7 kB / 405.8 MB, free: 34.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/0.4767, allocations: 2.151 MB / 408 MB, free: 32.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/0.4767, allocations: 19.98 kB / 408 MB, free: 32.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.4768, allocations: 4.562 kB / 408 MB, free: 32.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.4768, allocations: 7.938 kB / 408 MB, free: 32.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007385/0.4842, allocations: 5.205 MB / 413.2 MB, free: 27.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.4842, allocations: 4 kB / 413.2 MB, free: 27.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008596/0.4851, allocations: 231.7 kB / 413.4 MB, free: 27.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001545/0.4866, allocations: 465.1 kB / 413.9 MB, free: 27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.401e-05/0.4867, allocations: 31.98 kB / 413.9 MB, free: 26.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/0.4905, allocations: 3.968 MB / 417.9 MB, free: 22.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4906, allocations: 12.08 kB / 417.9 MB, free: 22.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00415/0.4947, allocations: 3.254 MB / 421.1 MB, free: 19.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009848/0.4957, allocations: 462.7 kB / 421.6 MB, free: 19.08 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.496, allocations: 28.94 kB / 421.6 MB, free: 19.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008819/0.4969, allocations: 108.8 kB / 421.7 MB, free: 18.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.4971, allocations: 96.81 kB / 421.8 MB, free: 18.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/0.4972, allocations: 42.11 kB / 421.9 MB, free: 18.81 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001754/0.4989, allocations: 1.326 MB / 423.2 MB, free: 17.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4989, allocations: 0 / 423.2 MB, free: 17.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00198/0.5009, allocations: 0.5568 MB / 423.7 MB, free: 16.94 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00447/0.5054, allocations: 3.887 MB / 427.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00326/0.5087, allocations: 2.192 MB / 429.8 MB, free: 10.81 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.5087, allocations: 0 / 429.8 MB, free: 10.81 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.5104, allocations: 1.231 MB / 431.1 MB, free: 9.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/0.5129, allocations: 0.4899 MB / 431.5 MB, free: 9.086 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02782/0.5407, allocations: 16.94 MB / 448.5 MB, free: 7.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002423/0.5432, allocations: 2.427 MB / 450.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001595/0.5448, allocations: 499.4 kB / 451.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/0.5462, allocations: 1.058 MB / 452.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of SimCode: time 1.413e-06/0.5462, allocations: 0 / 452.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08401/0.6302, allocations: 48.4 MB / 0.4891 GB, free: 2.832 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.6305, allocations: 283.1 kB / 0.4894 GB, free: 2.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.427/4.058, allocations: 4 kB / 0.4894 GB, free: 2.457 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat