Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.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.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_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.0008478/0.0008482, allocations: 101 kB / 16.96 MB, free: 6.008 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.001024/0.001023, allocations: 182.6 kB / 17.84 MB, free: 5.66 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.808/1.808, allocations: 205.4 MB / 224 MB, free: 13.07 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.0005016/0.0005016, allocations: 12 kB / 280.9 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1186, allocations: 47.58 MB / 328.5 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02695/0.1456, allocations: 25.52 MB / 354 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02134/0.167, allocations: 6.831 MB / 360.8 MB, free: 3.512 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008286/0.1754, allocations: 203.3 kB / 361 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006947/0.1824, allocations: 1.413 MB / 362.4 MB, free: 1.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01249/0.1949, allocations: 2.543 MB / 365 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006542/0.2015, allocations: 1.405 MB / 366.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.4469/0.6484, allocations: 23.93 MB / 390.3 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06807/0.7165, allocations: 35.79 MB / 426.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01324/0.7298, allocations: 7.056 MB / 433.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01781/0.7477, allocations: 8.201 MB / 441.3 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006062/0.7538, allocations: 1.168 MB / 442.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/0.7645, allocations: 1.404 MB / 443.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006323/0.7709, allocations: 3.449 MB / 447.4 MB, free: 192 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008674/0.7796, allocations: 3.717 MB / 451.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04386/0.8234, allocations: 33.72 MB / 484.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.789e-06/0.8235, allocations: 0 / 484.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.8235, allocations: 4 kB / 484.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001376/0.8249, allocations: 0 / 484.8 MB, free: 11.92 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: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.0589/0.8838, allocations: 18.99 MB / 0.492 GB, free: 9.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.8839, allocations: 8.031 kB / 0.492 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0136/0.8975, allocations: 3.109 MB / 0.495 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06495/0.9625, allocations: 12.33 MB / 0.5071 GB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0281/0.9906, allocations: 10.46 MB / 0.5173 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002358/0.993, allocations: 1.398 MB / 0.5187 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01088/1.004, allocations: 1.83 MB / 0.5204 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6021/1.606, allocations: 30.74 MB / 0.5505 GB, free: 71.25 MB / 430.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001021/1.607, allocations: 16.03 kB / 0.5505 GB, free: 71.25 MB / 430.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0109/1.618, allocations: 0.7584 MB / 0.5512 GB, free: 71.25 MB / 430.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001625/1.62, allocations: 0.9919 MB / 0.5522 GB, free: 71.21 MB / 430.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07117/1.691, allocations: 27.76 MB / 0.5793 GB, free: 66.32 MB / 430.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2132/1.904, allocations: 94.58 MB / 0.6717 GB, free: 7.277 MB / 462.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3265/2.231, allocations: 53.34 MB / 0.7238 GB, free: 165.6 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01216/2.243, allocations: 5.897 MB / 0.7295 GB, free: 165.6 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03657/2.28, allocations: 16.86 MB / 0.746 GB, free: 158.2 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.592e-05/2.28, allocations: 81.7 kB / 0.7461 GB, free: 158.1 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=439): time 6.021e-06/2.28, allocations: 1.531 kB / 0.7461 GB, free: 158.1 MB / 0.4983 GB Notification: Performance of matching and sorting (n=439): time 0.03045/2.31, allocations: 13.13 MB / 0.7589 GB, free: 154.3 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/2.31, allocations: 119.2 kB / 0.759 GB, free: 154.2 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0131/2.323, allocations: 7.436 MB / 0.7663 GB, free: 151.5 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 0.0009184/2.324, allocations: 96.98 kB / 0.7663 GB, free: 151.4 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.006612/2.331, allocations: 8.518 MB / 0.7747 GB, free: 145 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.002321/2.333, allocations: 1.595 MB / 0.7762 GB, free: 143.8 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/2.334, allocations: 219.4 kB / 0.7764 GB, free: 143.6 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0006059/2.335, allocations: 0.7658 MB / 0.7772 GB, free: 143.1 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007149/2.342, allocations: 4.738 MB / 0.7818 GB, free: 141.4 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01076/2.353, allocations: 10.44 MB / 0.792 GB, free: 132 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/2.364, allocations: 7.31 MB / 0.7991 GB, free: 128.8 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000251/2.365, allocations: 58.69 kB / 0.7992 GB, free: 128.8 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.03089/2.396, allocations: 16.08 MB / 0.8149 GB, free: 116.4 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001497/2.396, allocations: 93.38 kB / 0.815 GB, free: 116.3 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003598/2.396, allocations: 196 kB / 0.8152 GB, free: 116.1 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004934/2.401, allocations: 1.722 MB / 0.8169 GB, free: 114.4 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008749/2.41, allocations: 2.496 MB / 0.8193 GB, free: 111.9 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/2.424, allocations: 10.78 MB / 0.8298 GB, free: 100.9 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0115/2.436, allocations: 1.548 MB / 0.8313 GB, free: 99.38 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002733/2.439, allocations: 0.6015 MB / 0.8319 GB, free: 98.78 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1318): * Single equations (assignments): 1309 * 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 prepare postOptimizeDAE: time 0.0194/2.458, allocations: 7.406 MB / 0.8392 GB, free: 91.35 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001635/2.46, allocations: 0.6287 MB / 0.8398 GB, free: 90.71 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/2.473, allocations: 8.242 MB / 0.8478 GB, free: 82.45 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007936/2.481, allocations: 6.612 MB / 0.8543 GB, free: 75.82 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.029e-05/2.481, allocations: 15.95 kB / 0.8543 GB, free: 75.81 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-05/2.481, allocations: 23.91 kB / 0.8543 GB, free: 75.79 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03676/2.518, allocations: 20.99 MB / 0.8748 GB, free: 54.81 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/2.518, allocations: 0 / 0.8748 GB, free: 54.81 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002844/2.521, allocations: 0.7645 MB / 0.8756 GB, free: 54.04 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004743/2.525, allocations: 1.458 MB / 0.877 GB, free: 52.59 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003662/2.526, allocations: 91.97 kB / 0.8771 GB, free: 52.5 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/2.538, allocations: 10.42 MB / 0.8872 GB, free: 41.95 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/2.538, allocations: 1.641 kB / 0.8873 GB, free: 41.95 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4029/2.941, allocations: 11.93 MB / 0.8989 GB, free: 154.6 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00554/2.946, allocations: 1.369 MB / 0.9002 GB, free: 154.5 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002474/2.949, allocations: 77.28 kB / 0.9003 GB, free: 154.5 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004003/2.953, allocations: 311.7 kB / 0.9006 GB, free: 154.5 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000776/2.954, allocations: 301 kB / 0.9009 GB, free: 154.5 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003003/2.954, allocations: 124.2 kB / 0.901 GB, free: 154.5 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01457/2.969, allocations: 4.871 MB / 0.9058 GB, free: 154.2 MB / 0.4983 GB Notification: Performance of sort global known variables: time 8.02e-07/2.969, allocations: 0 / 0.9058 GB, free: 154.2 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.01929/2.988, allocations: 4.188 MB / 0.9099 GB, free: 153 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (387): * Single equations (assignments): 378 * 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 Backend phase and start with SimCode phase: time 0.02135/3.009, allocations: 12.68 MB / 0.9222 GB, free: 147.4 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.01958/3.029, allocations: 11.08 MB / 0.9331 GB, free: 143.3 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/3.029, allocations: 0 / 0.9331 GB, free: 143.3 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.008252/3.037, allocations: 4.021 MB / 0.937 GB, free: 141.6 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01249/3.05, allocations: 1.484 MB / 0.9384 GB, free: 141.1 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1953/3.245, allocations: 88.23 MB / 1.025 GB, free: 66.62 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02733/3.273, allocations: 11.62 MB / 1.036 GB, free: 54.96 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01394/3.287, allocations: 3.976 MB / 1.04 GB, free: 50.98 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01311/3.3, allocations: 6.088 MB / 1.046 GB, free: 44.89 MB / 0.4983 GB Notification: Performance of SimCode: time 1.623e-06/3.3, allocations: 0 / 1.046 GB, free: 44.89 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6004/3.9, allocations: 201.1 MB / 1.242 GB, free: 16.02 MB / 0.4983 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/3.9, allocations: 271.6 kB / 1.242 GB, free: 15.66 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.4/11.3, allocations: 0 / 1.242 GB, free: 15.66 MB / 0.4983 GB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat