Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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) 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(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001216/0.001216, allocations: 96.25 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001416, allocations: 193.1 kB / 17.91 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246 MB, free: 10.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002288/0.000229, allocations: 8 kB / 306.8 MB, free: 1.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1082, allocations: 51.49 MB / 358.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2678/0.3761, allocations: 24.7 MB / 383 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.3912, allocations: 6.608 MB / 389.6 MB, free: 4.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007586/0.3989, allocations: 232.8 kB / 389.8 MB, free: 4.035 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007997/0.4069, allocations: 1.364 MB / 391.2 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01345/0.4204, allocations: 2.091 MB / 393.3 MB, free: 2.105 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007241/0.4277, allocations: 1.53 MB / 394.8 MB, free: 1.191 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.03739/0.4651, allocations: 23.21 MB / 418 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07967/0.5448, allocations: 35.64 MB / 453.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01484/0.5597, allocations: 6.748 MB / 460.4 MB, free: 6.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01896/0.5787, allocations: 7.755 MB / 468.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006628/0.5854, allocations: 1.145 MB / 469.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01181/0.5972, allocations: 1.406 MB / 470.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00751/0.6048, allocations: 3.208 MB / 473.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008988/0.6138, allocations: 3.591 MB / 477.5 MB, free: 5.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03616/0.65, allocations: 33.26 MB / 0.4988 GB, free: 3.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/0.6501, allocations: 8 kB / 0.4988 GB, free: 3.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.6501, allocations: 0 / 0.4988 GB, free: 3.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001157/0.6513, allocations: 0 / 0.4988 GB, free: 3.73 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.05129/0.7026, allocations: 18.25 MB / 0.5166 GB, free: 1.363 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.7026, allocations: 16.03 kB / 0.5167 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009541/0.7122, allocations: 2.962 MB / 0.5196 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04408/0.7563, allocations: 8.388 MB / 0.5277 GB, free: 5.953 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4327/1.189, allocations: 11.18 MB / 0.5387 GB, free: 107.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001687/1.191, allocations: 1.332 MB / 0.54 GB, free: 107.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008119/1.199, allocations: 1.751 MB / 0.5417 GB, free: 106.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06507/1.264, allocations: 28.64 MB / 0.5696 GB, free: 95.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004833/1.265, allocations: 15.28 kB / 0.5697 GB, free: 95.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003896/1.268, allocations: 0.7267 MB / 0.5704 GB, free: 95.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000606/1.269, allocations: 0.8623 MB / 0.5712 GB, free: 95.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04519/1.314, allocations: 24.69 MB / 0.5953 GB, free: 72.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1371/1.451, allocations: 88.57 MB / 0.6818 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03038/1.482, allocations: 35.14 MB / 0.7161 GB, free: 7.957 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01016/1.492, allocations: 5.344 MB / 0.7213 GB, free: 2.598 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008398/1.493, allocations: 289.6 kB / 0.7216 GB, free: 2.293 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/1.493, allocations: 95.12 kB / 0.7217 GB, free: 2.188 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=589): time 1.219e-05/1.493, allocations: 0 / 0.7217 GB, free: 2.188 MB / 0.4982 GB Notification: Performance of matching and sorting (n=589): time 0.4474/1.94, allocations: 14.53 MB / 0.7359 GB, free: 155.3 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/1.941, allocations: 136.8 kB / 0.736 GB, free: 155.2 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.951, allocations: 6.376 MB / 0.7423 GB, free: 153.1 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 0.0009781/1.952, allocations: 117.5 kB / 0.7424 GB, free: 153 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.003878/1.956, allocations: 7.603 MB / 0.7498 GB, free: 147.4 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.002041/1.958, allocations: 2.047 MB / 0.7518 GB, free: 145.9 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006803/1.958, allocations: 207.6 kB / 0.752 GB, free: 145.7 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0004617/1.959, allocations: 0.7403 MB / 0.7527 GB, free: 145.2 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005991/1.965, allocations: 4.774 MB / 0.7574 GB, free: 143.5 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007835/1.973, allocations: 9.514 MB / 0.7667 GB, free: 135.4 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008259/1.981, allocations: 7.155 MB / 0.7737 GB, free: 132.3 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.142e-05/1.981, allocations: 47.8 kB / 0.7737 GB, free: 132.3 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.02099/2.002, allocations: 15.45 MB / 0.7888 GB, free: 126.1 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/2.002, allocations: 76.08 kB / 0.7889 GB, free: 126 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000279/2.003, allocations: 159.2 kB / 0.789 GB, free: 126 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004994/2.008, allocations: 1.689 MB / 0.7907 GB, free: 125.7 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008006/2.016, allocations: 2.347 MB / 0.793 GB, free: 123.7 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/2.029, allocations: 10.83 MB / 0.8035 GB, free: 114.2 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009917/2.039, allocations: 1.354 MB / 0.8049 GB, free: 112.9 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002297/2.041, allocations: 0.5351 MB / 0.8054 GB, free: 112.4 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1249): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,75.0%) 80} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01214/2.053, allocations: 7.145 MB / 0.8124 GB, free: 105.5 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/2.054, allocations: 0.6095 MB / 0.813 GB, free: 104.9 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/2.067, allocations: 10.26 MB / 0.823 GB, free: 94.54 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009218/2.077, allocations: 7.885 MB / 0.8307 GB, free: 86.57 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.126e-05/2.077, allocations: 16.5 kB / 0.8307 GB, free: 86.55 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.768e-05/2.077, allocations: 28.92 kB / 0.8307 GB, free: 86.53 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04133/2.118, allocations: 26.45 MB / 0.8566 GB, free: 59.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/2.118, allocations: 8 kB / 0.8566 GB, free: 59.56 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003375/2.121, allocations: 1.006 MB / 0.8575 GB, free: 58.55 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004302/2.126, allocations: 1.469 MB / 0.859 GB, free: 57.07 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004053/2.126, allocations: 128 kB / 0.8591 GB, free: 56.95 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01074/2.137, allocations: 10.42 MB / 0.8693 GB, free: 46.4 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/2.137, allocations: 15.94 kB / 0.8693 GB, free: 46.39 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/2.154, allocations: 14.32 MB / 0.8833 GB, free: 31.72 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003608/2.158, allocations: 1.456 MB / 0.8847 GB, free: 30.24 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001607/2.16, allocations: 112 kB / 0.8848 GB, free: 30.13 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003585/2.163, allocations: 323.7 kB / 0.8851 GB, free: 29.81 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009503/2.164, allocations: 404.5 kB / 0.8855 GB, free: 29.41 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003445/2.165, allocations: 168 kB / 0.8857 GB, free: 29.25 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.006274/2.171, allocations: 4.262 MB / 0.8898 GB, free: 25.02 MB / 0.4983 GB Notification: Performance of sort global known variables: time 4.91e-07/2.171, allocations: 0 / 0.8898 GB, free: 25.02 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.01284/2.184, allocations: 4.033 MB / 0.8938 GB, free: 20.97 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (534): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,77.8%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2887/2.472, allocations: 15.1 MB / 0.9085 GB, free: 141.5 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.02685/2.499, allocations: 11.45 MB / 0.9197 GB, free: 139.8 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.006e-05/2.499, allocations: 5.969 kB / 0.9197 GB, free: 139.8 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.01111/2.511, allocations: 4.721 MB / 0.9243 GB, free: 137.9 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008779/2.519, allocations: 1.489 MB / 0.9258 GB, free: 137.4 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1739/2.693, allocations: 84.68 MB / 1.008 GB, free: 77.43 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02416/2.718, allocations: 11.27 MB / 1.019 GB, free: 68.2 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0125/2.73, allocations: 3.767 MB / 1.023 GB, free: 64.42 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01305/2.743, allocations: 5.877 MB / 1.029 GB, free: 58.54 MB / 0.4983 GB Notification: Performance of SimCode: time 1.322e-06/2.743, allocations: 0 / 1.029 GB, free: 58.54 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5214/3.265, allocations: 201.6 MB / 1.226 GB, free: 55.27 MB / 0.5139 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/3.265, allocations: 278.1 kB / 1.226 GB, free: 54.91 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.396/9.661, allocations: 3.938 kB / 1.226 GB, free: 54.91 MB / 0.5139 GB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat