Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",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.0008585/0.0008587, allocations: 88.16 kB / 16.31 MB, free: 5.543 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.001136/0.001136, allocations: 181.5 kB / 17.21 MB, free: 5.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.2 MB / 241.2 MB, free: 360 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002507/0.0002507, allocations: 4.781 kB / 300.9 MB, free: 6.375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1121, allocations: 50.42 MB / 351.3 MB, free: 3.945 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003809/0.1159, allocations: 3.241 MB / 354.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1176, allocations: 0.9429 MB / 355.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.1178, allocations: 23.88 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.1181, allocations: 107.2 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007016/0.1188, allocations: 274.7 kB / 355.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.119, allocations: 71.92 kB / 356 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.1204, allocations: 1.502 MB / 357.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009186/0.1213, allocations: 0.8338 MB / 358.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004825/0.1218, allocations: 474.2 kB / 358.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008038/0.1226, allocations: 0.6342 MB / 359.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.1227, allocations: 72 kB / 359.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.1229, allocations: 72 kB / 359.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.1232, allocations: 346.9 kB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.1235, allocations: 281 kB / 360.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.1249, allocations: 1.648 MB / 361.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1249, allocations: 0 / 361.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1249, allocations: 0 / 361.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.1249, allocations: 0 / 361.8 MB, free: 9.391 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.00235/0.1272, allocations: 1.493 MB / 363.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1273, allocations: 12.03 kB / 363.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000215/0.1275, allocations: 181.1 kB / 363.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.1278, allocations: 134.4 kB / 363.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.1289, allocations: 0.8336 MB / 364.5 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.129, allocations: 82.25 kB / 364.5 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.1291, allocations: 116 kB / 364.7 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/0.1316, allocations: 1.568 MB / 366.2 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.1316, allocations: 0 / 366.2 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.1317, allocations: 47.95 kB / 366.3 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.1317, allocations: 28 kB / 366.3 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.1338, allocations: 1.34 MB / 367.6 MB, free: 3.406 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2494/0.3832, allocations: 4.345 MB / 372 MB, free: 22.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.3846, allocations: 1.337 MB / 373.3 MB, free: 21.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.3857, allocations: 0.5553 MB / 373.9 MB, free: 21.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.3857, allocations: 14.97 kB / 373.9 MB, free: 21.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.3858, allocations: 40.27 kB / 373.9 MB, free: 21.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.785e-06/0.3858, allocations: 0 / 373.9 MB, free: 21.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001964/0.3878, allocations: 0.8926 MB / 374.8 MB, free: 21.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.3878, allocations: 57.78 kB / 374.9 MB, free: 21.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.389, allocations: 0.8191 MB / 375.7 MB, free: 21.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.3891, allocations: 35.64 kB / 375.7 MB, free: 20.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/0.3895, allocations: 0.5508 MB / 376.3 MB, free: 20.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.3896, allocations: 176.3 kB / 376.5 MB, free: 20.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.3897, allocations: 10.75 kB / 376.5 MB, free: 20.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3898, allocations: 389.5 kB / 376.8 MB, free: 20.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/0.3903, allocations: 304.7 kB / 377.1 MB, free: 20.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.3909, allocations: 401.4 kB / 377.5 MB, free: 20 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005605/0.3915, allocations: 367.1 kB / 377.9 MB, free: 19.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3915, allocations: 3.719 kB / 377.9 MB, free: 19.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001445/0.393, allocations: 0.833 MB / 378.7 MB, free: 19.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.393, allocations: 6.281 kB / 378.7 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.393, allocations: 6.984 kB / 378.7 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.3931, allocations: 4.188 kB / 378.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006646/0.3937, allocations: 150.9 kB / 378.9 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.3938, allocations: 6.422 kB / 378.9 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.3942, allocations: 69.17 kB / 379 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.3942, allocations: 18.83 kB / 379 MB, free: 19.53 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * 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.0007873/0.395, allocations: 463.5 kB / 379.4 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.3952, allocations: 75.53 kB / 379.5 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.3953, allocations: 90.72 kB / 379.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.3954, allocations: 5.469 kB / 379.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.3954, allocations: 0 / 379.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3954, allocations: 2.719 kB / 379.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003602/0.399, allocations: 1.958 MB / 381.6 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.399, allocations: 9.219 kB / 381.6 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005262/0.3996, allocations: 119.7 kB / 381.7 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.3996, allocations: 2.969 kB / 381.7 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.3996, allocations: 14.91 kB / 381.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.3996, allocations: 11.28 kB / 381.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3997, allocations: 2.125 kB / 381.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.4014, allocations: 1.141 MB / 382.9 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.4017, allocations: 169.6 kB / 383 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.291e-05/0.4018, allocations: 14.19 kB / 383 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.4022, allocations: 56.67 kB / 383.1 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.4023, allocations: 44.98 kB / 383.1 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.4023, allocations: 19.77 kB / 383.2 MB, free: 17.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000894/0.4032, allocations: 0.582 MB / 383.7 MB, free: 17.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4032, allocations: 0 / 383.7 MB, free: 17.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009632/0.4042, allocations: 292.8 kB / 384 MB, free: 17.26 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].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 (52): * Single equations (assignments): 52 * 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.001905/0.4061, allocations: 1.69 MB / 385.7 MB, free: 16.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.4074, allocations: 0.651 MB / 386.4 MB, free: 16.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.4074, allocations: 5.438 kB / 386.4 MB, free: 16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.408, allocations: 325.8 kB / 386.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009941/0.409, allocations: 181 kB / 386.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009721/0.4187, allocations: 6.345 MB / 393.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/0.4195, allocations: 1.341 MB / 394.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005586/0.42, allocations: 212.1 kB / 394.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004211/0.4205, allocations: 389.4 kB / 395.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4205, allocations: 0 / 395.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/0.455, allocations: 17.45 MB / 412.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.4552, allocations: 202.4 kB / 412.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.197/2.652, allocations: 1.094 kB / 412.8 MB, free: 10.3 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat