Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009958/0.0009958, allocations: 100.9 kB / 17.01 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008383/0.0008385, allocations: 198.9 kB / 17.91 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.3 MB / 246 MB, free: 11.96 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003385, allocations: 4 kB / 306.8 MB, free: 1.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1296, allocations: 51.49 MB / 358.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.005376/0.135, allocations: 4.799 MB / 363.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00373/0.1388, allocations: 1.695 MB / 364.8 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003925/0.1392, allocations: 27.88 kB / 364.8 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.1398, allocations: 191 kB / 365 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.1411, allocations: 493.6 kB / 365.5 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007467/0.1419, allocations: 335.3 kB / 365.8 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009/0.1428, allocations: 0.743 MB / 366.6 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002572/0.1454, allocations: 1.487 MB / 368.1 MB, free: 4.133 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004601/0.1459, allocations: 286.8 kB / 368.3 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000447/0.1463, allocations: 406.4 kB / 368.7 MB, free: 3.453 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.317e-05/0.1464, allocations: 40 kB / 368.8 MB, free: 3.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.1469, allocations: 195.8 kB / 369 MB, free: 3.223 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.147, allocations: 131.5 kB / 369.1 MB, free: 3.094 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.1472, allocations: 169.2 kB / 369.3 MB, free: 2.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009465/0.1481, allocations: 0.8997 MB / 370.2 MB, free: 2.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1481, allocations: 0 / 370.2 MB, free: 2.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1482, allocations: 4 kB / 370.2 MB, free: 2.016 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1482, allocations: 3.938 kB / 370.2 MB, free: 2.012 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003247/0.1514, allocations: 1.205 MB / 371.4 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.1515, allocations: 12.03 kB / 371.4 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002038/0.1517, allocations: 148.1 kB / 371.5 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2351/0.3868, allocations: 0.6458 MB / 372.2 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.3879, allocations: 415.5 kB / 372.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/0.388, allocations: 71.97 kB / 372.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.3882, allocations: 98.72 kB / 372.7 MB, free: 18.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.3902, allocations: 0.9808 MB / 373.7 MB, free: 18.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.3902, allocations: 3.094 kB / 373.7 MB, free: 18.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.3904, allocations: 38.75 kB / 373.8 MB, free: 18.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.3904, allocations: 24.09 kB / 373.8 MB, free: 18.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.3925, allocations: 0.9268 MB / 374.7 MB, free: 18.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004868/0.3974, allocations: 3.455 MB / 378.2 MB, free: 16.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/0.3996, allocations: 2.237 MB / 380.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004842/0.4001, allocations: 292.3 kB / 380.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.4002, allocations: 181.4 kB / 380.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/0.4003, allocations: 43 kB / 380.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.956e-06/0.4003, allocations: 0 / 380.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001563/0.4019, allocations: 0.7231 MB / 381.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.402, allocations: 114.3 kB / 381.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.4023, allocations: 273.2 kB / 382 MB, free: 13.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.4024, allocations: 36.92 kB / 382.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.4027, allocations: 380.5 kB / 382.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.4029, allocations: 226.7 kB / 382.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.4029, allocations: 17.5 kB / 382.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4031, allocations: 347.2 kB / 383 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/0.4036, allocations: 223 kB / 383.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.4041, allocations: 443.4 kB / 383.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005502/0.4047, allocations: 290.2 kB / 383.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.4047, allocations: 2.938 kB / 383.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001388/0.4061, allocations: 0.7502 MB / 384.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.4062, allocations: 8 kB / 384.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.4062, allocations: 7.609 kB / 384.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/0.4062, allocations: 11.12 kB / 384.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007712/0.407, allocations: 197.4 kB / 384.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.939e-05/0.407, allocations: 15.2 kB / 384.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.4074, allocations: 80.58 kB / 385 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/0.4075, allocations: 31.81 kB / 385 MB, free: 11.49 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002894/0.4078, allocations: 223.5 kB / 385.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.4079, allocations: 39.56 kB / 385.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.4092, allocations: 0.6557 MB / 385.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.4092, allocations: 9.984 kB / 386 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.4092, allocations: 0.9062 kB / 386 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.4093, allocations: 4.422 kB / 386 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/0.4119, allocations: 1.49 MB / 387.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4119, allocations: 1.641 kB / 387.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.4125, allocations: 144.8 kB / 387.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.4125, allocations: 3.875 kB / 387.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.4126, allocations: 14.28 kB / 387.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.4126, allocations: 7.078 kB / 387.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4126, allocations: 0.9688 kB / 387.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.4141, allocations: 1.129 MB / 388.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-05/0.4142, allocations: 133.8 kB / 388.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/0.4143, allocations: 13.64 kB / 388.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.4146, allocations: 27.28 kB / 388.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.549e-05/0.4147, allocations: 44.52 kB / 389 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.4147, allocations: 20.25 kB / 389 MB, free: 9.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.4149, allocations: 185.9 kB / 389.2 MB, free: 9.227 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4149, allocations: 0 / 389.2 MB, free: 9.227 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008349/0.4158, allocations: 223.1 kB / 389.4 MB, free: 9.164 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_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 (72): * Single equations (assignments): 72 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001847/0.4176, allocations: 1.713 MB / 391.1 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.4188, allocations: 0.6149 MB / 391.7 MB, free: 7.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4188, allocations: 0 / 391.7 MB, free: 7.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004846/0.4193, allocations: 310 kB / 392 MB, free: 7.641 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.4199, allocations: 42.19 kB / 392.1 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.4245, allocations: 3.192 MB / 395.2 MB, free: 5.648 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.4249, allocations: 0.9008 MB / 396.1 MB, free: 4.938 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003392/0.4252, allocations: 81.83 kB / 396.2 MB, free: 4.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.4255, allocations: 254.2 kB / 396.5 MB, free: 4.719 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4255, allocations: 0 / 396.5 MB, free: 4.719 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.4462, allocations: 8.75 MB / 405.2 MB, free: 14.77 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.4464, allocations: 201.5 kB / 405.4 MB, free: 14.53 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/2.471, allocations: 2.5 kB / 405.4 MB, free: 14.53 MB / 318.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat