Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 97.25 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 200.6 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002494/0.0002494, allocations: 4 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09895/0.09922, allocations: 51.5 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005448/0.1047, allocations: 4.786 MB / 363 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003953/0.1087, allocations: 2.039 MB / 365 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008175/0.1096, allocations: 31.88 kB / 365.1 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009039/0.1105, allocations: 322.3 kB / 365.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.1117, allocations: 458.6 kB / 365.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.1121, allocations: 139.8 kB / 366 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.1137, allocations: 1.412 MB / 367.4 MB, free: 4.566 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.1153, allocations: 1.413 MB / 368.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.1165, allocations: 0.7124 MB / 369.5 MB, free: 2.398 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.1176, allocations: 0.8521 MB / 370.4 MB, free: 1.543 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.1178, allocations: 124 kB / 370.5 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.1183, allocations: 183.9 kB / 370.7 MB, free: 1.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004182/0.1187, allocations: 0.4907 MB / 371.1 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004318/0.1191, allocations: 440.7 kB / 371.6 MB, free: 320 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2066/0.3258, allocations: 3.071 MB / 374.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3258, allocations: 1.188 kB / 374.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.3259, allocations: 0 / 374.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001491/0.326, allocations: 0 / 374.6 MB, free: 11.53 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.006403/0.3324, allocations: 2.047 MB / 376.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.3325, allocations: 9.172 kB / 376.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001253/0.3337, allocations: 270 kB / 377 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.3352, allocations: 291.8 kB / 377.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/0.3379, allocations: 1.269 MB / 378.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.3381, allocations: 134.8 kB / 378.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003703/0.3384, allocations: 177.2 kB / 378.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005182/0.3436, allocations: 2.533 MB / 381.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.3437, allocations: 0 / 381.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.3439, allocations: 72.33 kB / 381.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.575e-05/0.344, allocations: 101.9 kB / 381.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003731/0.3477, allocations: 2.1 MB / 383.6 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.3596, allocations: 7.498 MB / 391.1 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.361, allocations: 1.278 MB / 392.4 MB, free: 4.289 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/0.3612, allocations: 110.8 kB / 392.5 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.3613, allocations: 50.12 kB / 392.6 MB, free: 4.133 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.926e-06/0.3613, allocations: 1.031 kB / 392.6 MB, free: 4.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.004395/0.3657, allocations: 2.283 MB / 394.8 MB, free: 2.695 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3658, allocations: 83.05 kB / 394.9 MB, free: 2.598 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/0.3678, allocations: 1.498 MB / 396.4 MB, free: 1.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.3679, allocations: 41.39 kB / 396.5 MB, free: 1.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004908/0.3684, allocations: 0.9688 MB / 397.4 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.3685, allocations: 196.6 kB / 397.6 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.3686, allocations: 24.78 kB / 397.6 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.3687, allocations: 361.6 kB / 398 MB, free: 368 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006069/0.3693, allocations: 466 kB / 398.5 MB, free: 124 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.3704, allocations: 1.082 MB / 399.5 MB, free: 15.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/0.3713, allocations: 0.6784 MB / 400.2 MB, free: 14.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.3713, allocations: 7 kB / 400.2 MB, free: 14.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002511/0.3738, allocations: 1.685 MB / 401.9 MB, free: 13.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.3739, allocations: 12.84 kB / 401.9 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.3739, allocations: 27.39 kB / 401.9 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007628/0.3747, allocations: 185.4 kB / 402.1 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008112/0.3755, allocations: 283.7 kB / 402.4 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.3777, allocations: 2.185 MB / 404.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.3789, allocations: 96.27 kB / 404.7 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.725e-05/0.3791, allocations: 68.02 kB / 404.8 MB, free: 11.82 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0013/0.3804, allocations: 0.7008 MB / 405.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/0.3806, allocations: 130.5 kB / 405.6 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.3821, allocations: 0.8487 MB / 406.4 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.3821, allocations: 7.953 kB / 406.4 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3821, allocations: 3.062 kB / 406.4 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3822, allocations: 3.984 kB / 406.4 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004475/0.3866, allocations: 2.519 MB / 409 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.3867, allocations: 4 kB / 409 MB, free: 7.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.3871, allocations: 100.2 kB / 409.1 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006451/0.3877, allocations: 156.6 kB / 409.2 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.3878, allocations: 12 kB / 409.2 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.39, allocations: 2.131 MB / 411.4 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.3901, allocations: 4.031 kB / 411.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.3926, allocations: 1.479 MB / 412.8 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008146/0.3934, allocations: 283.4 kB / 413.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.3936, allocations: 16 kB / 413.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006323/0.3942, allocations: 52.03 kB / 413.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.3943, allocations: 51.89 kB / 413.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/0.3944, allocations: 15.98 kB / 413.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001735/0.3961, allocations: 1.028 MB / 414.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3961, allocations: 0 / 414.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001991/0.3981, allocations: 348 kB / 414.6 MB, free: 1.625 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003334/0.4015, allocations: 2.811 MB / 417.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.4036, allocations: 1.158 MB / 418.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.4037, allocations: 2.406 kB / 418.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008451/0.4045, allocations: 0.5157 MB / 419.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.4065, allocations: 365.9 kB / 419.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02844/0.435, allocations: 25.14 MB / 444.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/0.4365, allocations: 1.737 MB / 446.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001156/0.4376, allocations: 323.3 kB / 446.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009347/0.4386, allocations: 0.6164 MB / 447.3 MB, free: 28 kB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4386, allocations: 0 / 447.3 MB, free: 28 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05292/0.4915, allocations: 31.13 MB / 478.4 MB, free: 1.289 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.4918, allocations: 261.8 kB / 478.7 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.121, allocations: 0 / 478.7 MB, free: 0.9336 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat