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.001074/0.001074, allocations: 103.3 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 192.2 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246 MB, free: 10.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002989, allocations: 4 kB / 306.8 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1235, allocations: 51.49 MB / 358.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005627/0.1291, allocations: 5.156 MB / 363.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003577/0.1327, allocations: 2.003 MB / 365.5 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006354/0.1334, allocations: 31.88 kB / 365.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007715/0.1342, allocations: 314.2 kB / 365.8 MB, free: 6.227 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.1353, allocations: 473.4 kB / 366.3 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.1356, allocations: 135.8 kB / 366.4 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001973/0.1376, allocations: 2.28 MB / 368.7 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.1391, allocations: 1.413 MB / 370.1 MB, free: 1.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.1402, allocations: 0.7628 MB / 370.9 MB, free: 1.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.1413, allocations: 0.9688 MB / 371.8 MB, free: 152 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.1415, allocations: 124 kB / 371.9 MB, free: 28 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.209/0.3505, allocations: 182.9 kB / 372.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007353/0.3513, allocations: 0.51 MB / 372.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006335/0.3519, allocations: 441.2 kB / 373.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00431/0.3562, allocations: 3.084 MB / 376.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.3563, allocations: 0 / 376.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3563, allocations: 0 / 376.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001132/0.3564, allocations: 0.6562 kB / 376.2 MB, free: 10.63 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.005093/0.3615, allocations: 2.051 MB / 378.2 MB, free: 9.633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.3615, allocations: 12.23 kB / 378.2 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005336/0.3621, allocations: 280.8 kB / 378.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.3631, allocations: 286 kB / 378.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.3654, allocations: 1.266 MB / 380 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.3655, allocations: 138.6 kB / 380.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003332/0.3658, allocations: 173.6 kB / 380.3 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005045/0.3709, allocations: 2.54 MB / 382.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/0.371, allocations: 0 / 382.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002055/0.3712, allocations: 74.84 kB / 383 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.3713, allocations: 95.84 kB / 383 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004525/0.3759, allocations: 2.111 MB / 385.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.3879, allocations: 7.492 MB / 392.6 MB, free: 3.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.3893, allocations: 1.274 MB / 393.9 MB, free: 2.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007378/0.3901, allocations: 480.9 kB / 394.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/0.3903, allocations: 124.1 kB / 394.5 MB, free: 2.578 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.3904, allocations: 38.12 kB / 394.6 MB, free: 2.535 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 3.407e-06/0.3904, allocations: 1.281 kB / 394.6 MB, free: 2.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.005213/0.3956, allocations: 2.283 MB / 396.8 MB, free: 1.094 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.3957, allocations: 87.28 kB / 396.9 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.398, allocations: 1.495 MB / 398.4 MB, free: 180 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/0.3981, allocations: 36.73 kB / 398.5 MB, free: 140 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007447/0.3989, allocations: 0.9708 MB / 399.4 MB, free: 15.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.3991, allocations: 203.3 kB / 399.6 MB, free: 15.12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.3991, allocations: 22.31 kB / 399.6 MB, free: 15.1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.3993, allocations: 358.9 kB / 400 MB, free: 14.76 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008361/0.4002, allocations: 466.1 kB / 400.4 MB, free: 14.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.4017, allocations: 1.095 MB / 401.5 MB, free: 13.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.4028, allocations: 0.6713 MB / 402.2 MB, free: 13.06 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.4028, allocations: 6.781 kB / 402.2 MB, free: 13.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003326/0.4061, allocations: 1.687 MB / 403.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.4062, allocations: 15.31 kB / 403.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.221e-05/0.4063, allocations: 21.59 kB / 403.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008619/0.4071, allocations: 185.2 kB / 404.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009246/0.4081, allocations: 289.6 kB / 404.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/0.4105, allocations: 2.159 MB / 406.6 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.412, allocations: 95.58 kB / 406.7 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.4121, allocations: 64 kB / 406.7 MB, free: 9.816 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.001927/0.4141, allocations: 0.7031 MB / 407.4 MB, free: 9.125 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004021/0.4145, allocations: 130.5 kB / 407.6 MB, free: 8.996 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.4162, allocations: 0.8473 MB / 408.4 MB, free: 8.137 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.4162, allocations: 4 kB / 408.4 MB, free: 8.133 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4162, allocations: 4 kB / 408.4 MB, free: 8.129 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.4162, allocations: 3.984 kB / 408.4 MB, free: 8.125 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/0.4206, allocations: 2.507 MB / 410.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.4207, allocations: 4 kB / 410.9 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.421, allocations: 101.8 kB / 411 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006555/0.4217, allocations: 152.6 kB / 411.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.4218, allocations: 19.98 kB / 411.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/0.4242, allocations: 2.093 MB / 413.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4242, allocations: 6.812 kB / 413.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.4263, allocations: 1.325 MB / 414.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006188/0.4269, allocations: 291.4 kB / 414.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.4271, allocations: 12 kB / 414.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005633/0.4276, allocations: 62.17 kB / 415 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.4278, allocations: 50.73 kB / 415 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.4278, allocations: 20 kB / 415 MB, free: 1.262 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001692/0.4295, allocations: 1.024 MB / 416.1 MB, free: 240 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4295, allocations: 2.812 kB / 416.1 MB, free: 240 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.001771/0.4313, allocations: 348 kB / 416.4 MB, free: 15.89 MB / 334.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.002656/0.434, allocations: 1.929 MB / 418.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.4361, allocations: 1.156 MB / 419.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.4361, allocations: 0 / 419.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008525/0.437, allocations: 0.5102 MB / 420 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.4389, allocations: 363.6 kB / 420.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0202/0.4591, allocations: 10.24 MB / 430.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/0.4607, allocations: 1.702 MB / 432.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00115/0.4618, allocations: 327.3 kB / 432.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008343/0.4627, allocations: 0.615 MB / 433.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4627, allocations: 0 / 433.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05667/0.5194, allocations: 31.16 MB / 464.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.5196, allocations: 274.8 kB / 464.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.155, allocations: 0 / 464.7 MB, free: 15.37 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