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.000951/0.000951, allocations: 97.88 kB / 16.93 MB, free: 5.984 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.001058/0.001058, allocations: 179.3 kB / 17.82 MB, free: 5.652 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.518/1.518, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004519/0.0004521, allocations: 12 kB / 280.8 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.09956, allocations: 47.58 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006688/0.1063, allocations: 6.292 MB / 334.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00487/0.1112, allocations: 2.643 MB / 337.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009242/0.1121, allocations: 55.69 kB / 337.4 MB, free: 10.97 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.1132, allocations: 465.5 kB / 337.9 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.1149, allocations: 0.5958 MB / 338.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007149/0.1156, allocations: 283.6 kB / 338.7 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002866/0.1185, allocations: 2.164 MB / 340.9 MB, free: 7.469 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002792/0.1213, allocations: 2.36 MB / 343.3 MB, free: 5.074 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.1232, allocations: 1.121 MB / 344.4 MB, free: 3.949 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.1253, allocations: 1.432 MB / 345.8 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003436/0.1257, allocations: 196 kB / 346 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008905/0.1266, allocations: 367.6 kB / 346.4 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008844/0.1275, allocations: 0.8803 MB / 347.3 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009105/0.1284, allocations: 0.664 MB / 347.9 MB, free: 416 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004705/0.1331, allocations: 4.94 MB / 352.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1331, allocations: 0 / 352.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1331, allocations: 0 / 352.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001539/0.1333, allocations: 0 / 352.9 MB, free: 11.45 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.007405/0.1407, allocations: 3.19 MB / 356 MB, free: 8.199 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.1407, allocations: 8.031 kB / 356.1 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008403/0.1416, allocations: 433.7 kB / 356.5 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009522/0.1426, allocations: 387.7 kB / 356.9 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003591/0.1462, allocations: 1.897 MB / 358.8 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.1464, allocations: 217.8 kB / 359 MB, free: 5.207 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/0.1468, allocations: 287.9 kB / 359.2 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006921/0.1537, allocations: 4.148 MB / 363.4 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/0.1538, allocations: 0 / 363.4 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/0.154, allocations: 123.9 kB / 363.5 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001543/0.1542, allocations: 145.9 kB / 363.7 MB, free: 472 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005705/0.1599, allocations: 3.466 MB / 367.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01814/0.1781, allocations: 11 MB / 378.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2123/0.3904, allocations: 2.644 MB / 380.8 MB, free: 47.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003892/0.3908, allocations: 121.7 kB / 380.9 MB, free: 47.56 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.3909, allocations: 49.92 kB / 380.9 MB, free: 47.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.809e-06/0.3909, allocations: 1.031 kB / 380.9 MB, free: 47.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01142/0.4023, allocations: 5.548 MB / 386.5 MB, free: 45.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.4024, allocations: 93.67 kB / 386.6 MB, free: 45.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003632/0.4061, allocations: 1.903 MB / 388.5 MB, free: 45.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001867/0.4063, allocations: 48.39 kB / 388.5 MB, free: 45.08 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001204/0.4075, allocations: 1.322 MB / 389.9 MB, free: 44.08 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.408, allocations: 453.8 kB / 390.3 MB, free: 43.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.408, allocations: 32.83 kB / 390.3 MB, free: 43.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4082, allocations: 365.4 kB / 390.7 MB, free: 43.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.4097, allocations: 0.8292 MB / 391.5 MB, free: 43.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.4115, allocations: 1.186 MB / 392.7 MB, free: 42.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.4131, allocations: 1.029 MB / 393.7 MB, free: 41.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.4131, allocations: 2.188 kB / 393.7 MB, free: 41.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00414/0.4173, allocations: 2.56 MB / 396.3 MB, free: 40.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.4173, allocations: 13.47 kB / 396.3 MB, free: 40.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.4174, allocations: 14.61 kB / 396.3 MB, free: 40.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001883/0.4193, allocations: 0.4895 MB / 396.8 MB, free: 40.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.4205, allocations: 329.8 kB / 397.1 MB, free: 40.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004425/0.425, allocations: 4.357 MB / 401.5 MB, free: 38.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.4266, allocations: 88.83 kB / 401.6 MB, free: 38.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.4267, allocations: 57.45 kB / 401.6 MB, free: 38 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (154): * Single equations (assignments): 149 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00179/0.4285, allocations: 1.056 MB / 402.7 MB, free: 37.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004751/0.429, allocations: 192.9 kB / 402.9 MB, free: 37.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.432, allocations: 2.181 MB / 405.1 MB, free: 36.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-05/0.432, allocations: 19.44 kB / 405.1 MB, free: 36.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.432, allocations: 3.906 kB / 405.1 MB, free: 36.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.432, allocations: 7.969 kB / 405.1 MB, free: 36.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007304/0.4394, allocations: 5.153 MB / 410.2 MB, free: 31.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4394, allocations: 0 / 410.2 MB, free: 31.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008722/0.4403, allocations: 228.5 kB / 410.5 MB, free: 31.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001611/0.4419, allocations: 486.5 kB / 410.9 MB, free: 30.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.564e-05/0.442, allocations: 28.69 kB / 411 MB, free: 30.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004237/0.4462, allocations: 4.299 MB / 415.3 MB, free: 26.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4462, allocations: 0 / 415.3 MB, free: 26.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004458/0.4507, allocations: 3.308 MB / 418.6 MB, free: 23.03 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.4519, allocations: 466.7 kB / 419 MB, free: 22.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/0.4522, allocations: 32.06 kB / 419.1 MB, free: 22.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009372/0.4531, allocations: 105.1 kB / 419.2 MB, free: 22.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.4533, allocations: 95.44 kB / 419.3 MB, free: 22.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.353e-05/0.4534, allocations: 32 kB / 419.3 MB, free: 22.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001854/0.4553, allocations: 1.326 MB / 420.6 MB, free: 20.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.202e-06/0.4553, allocations: 0 / 420.6 MB, free: 20.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001774/0.4571, allocations: 0.5573 MB / 421.2 MB, free: 20.43 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (98): * Single equations (assignments): 93 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004414/0.4615, allocations: 4.074 MB / 425.2 MB, free: 16.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003038/0.4646, allocations: 2.227 MB / 427.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4646, allocations: 0 / 427.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.4662, allocations: 1.229 MB / 428.7 MB, free: 12.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.4685, allocations: 484.8 kB / 429.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03126/0.4998, allocations: 23.51 MB / 452.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002472/0.5023, allocations: 2.479 MB / 455.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001735/0.504, allocations: 487.4 kB / 455.6 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/0.5055, allocations: 1.066 MB / 456.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5055, allocations: 0 / 456.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08509/0.5906, allocations: 48.37 MB / 0.4932 GB, free: 15.51 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/0.591, allocations: 269.7 kB / 0.4935 GB, free: 15.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/3.512, allocations: 0 / 0.4935 GB, free: 15.15 MB / 398.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