Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001629, allocations: 183.9 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 105.4 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005346/0.000535, allocations: 8 kB / 327.1 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3515, allocations: 47.57 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004401/0.3559, allocations: 3.02 MB / 377.6 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.3586, allocations: 1.038 MB / 378.7 MB, free: 42.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004102/0.3591, allocations: 19.5 kB / 378.7 MB, free: 42.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003675/0.3594, allocations: 130.4 kB / 378.8 MB, free: 42.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008779/0.3603, allocations: 229.9 kB / 379.1 MB, free: 41.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.3607, allocations: 86.84 kB / 379.1 MB, free: 41.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.3621, allocations: 0.8923 MB / 380 MB, free: 41.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.3633, allocations: 0.7586 MB / 380.8 MB, free: 40.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008655/0.3642, allocations: 454.5 kB / 381.2 MB, free: 40.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009412/0.3652, allocations: 0.5426 MB / 381.8 MB, free: 40.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.3654, allocations: 76.06 kB / 381.9 MB, free: 40.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.3657, allocations: 75.25 kB / 381.9 MB, free: 40.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004069/0.3661, allocations: 344.4 kB / 382.3 MB, free: 40.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003336/0.3665, allocations: 271.6 kB / 382.5 MB, free: 39.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.3684, allocations: 1.64 MB / 384.2 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3684, allocations: 3.938 kB / 384.2 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3684, allocations: 0 / 384.2 MB, free: 38.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.139e-05/0.3685, allocations: 1.125 kB / 384.2 MB, free: 38.73 MB / 298.7 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.00434/0.3728, allocations: 1.477 MB / 385.7 MB, free: 37.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.3729, allocations: 8.812 kB / 385.7 MB, free: 37.69 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003987/0.3733, allocations: 184 kB / 385.8 MB, free: 37.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.3737, allocations: 142.3 kB / 386 MB, free: 37.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.3755, allocations: 0.7987 MB / 386.8 MB, free: 36.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.774e-05/0.3755, allocations: 86.25 kB / 386.9 MB, free: 36.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/0.3758, allocations: 111.9 kB / 387 MB, free: 36.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003626/0.3794, allocations: 1.553 MB / 388.5 MB, free: 34.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.102e-05/0.3795, allocations: 0 / 388.5 MB, free: 34.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.3797, allocations: 52 kB / 388.6 MB, free: 34.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.3797, allocations: 24 kB / 388.6 MB, free: 34.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003304/0.383, allocations: 1.328 MB / 389.9 MB, free: 33.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009963/0.393, allocations: 4.366 MB / 394.3 MB, free: 28.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.3947, allocations: 1.337 MB / 395.6 MB, free: 27.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.784e-05/0.3948, allocations: 20.36 kB / 395.6 MB, free: 27.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.3948, allocations: 35 kB / 395.7 MB, free: 27.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 3.697e-06/0.3948, allocations: 0 / 395.7 MB, free: 27.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.002202/0.3971, allocations: 0.9081 MB / 396.6 MB, free: 26.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.3971, allocations: 59.8 kB / 396.6 MB, free: 26.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.3985, allocations: 0.8166 MB / 397.5 MB, free: 25.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/0.3985, allocations: 33.7 kB / 397.5 MB, free: 25.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.3989, allocations: 0.5594 MB / 398.1 MB, free: 24.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.399, allocations: 181.4 kB / 398.2 MB, free: 24.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.3991, allocations: 12 kB / 398.2 MB, free: 24.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.092e-05/0.3992, allocations: 334.8 kB / 398.6 MB, free: 24.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006909/0.3999, allocations: 308.9 kB / 398.9 MB, free: 24.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007574/0.4007, allocations: 410.5 kB / 399.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007999/0.4015, allocations: 374 kB / 399.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4015, allocations: 0 / 399.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001731/0.4032, allocations: 0.7913 MB / 400.4 MB, free: 22.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.4033, allocations: 8 kB / 400.4 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.4033, allocations: 3.938 kB / 400.4 MB, free: 22.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.4033, allocations: 8.281 kB / 400.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.4044, allocations: 155.8 kB / 400.6 MB, free: 22.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.4045, allocations: 7.953 kB / 400.6 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006994/0.4052, allocations: 67.41 kB / 400.7 MB, free: 22.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/0.4052, allocations: 16 kB / 400.7 MB, free: 22.15 MB / 298.7 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.0007957/0.406, allocations: 461.4 kB / 401.1 MB, free: 21.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.4062, allocations: 79.09 kB / 401.2 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.4064, allocations: 95.08 kB / 401.3 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.4064, allocations: 4 kB / 401.3 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.4064, allocations: 0 / 401.3 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.4064, allocations: 7.938 kB / 401.3 MB, free: 21.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/0.4103, allocations: 1.965 MB / 403.3 MB, free: 19.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4104, allocations: 0 / 403.3 MB, free: 19.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009369/0.4113, allocations: 123.9 kB / 403.4 MB, free: 19.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.4113, allocations: 0 / 403.4 MB, free: 19.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.4114, allocations: 12 kB / 403.4 MB, free: 19.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.4114, allocations: 12.08 kB / 403.4 MB, free: 19.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4114, allocations: 3.938 kB / 403.4 MB, free: 19.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.4136, allocations: 1.174 MB / 404.6 MB, free: 18.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.4139, allocations: 168.2 kB / 404.8 MB, free: 17.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.414, allocations: 15.98 kB / 404.8 MB, free: 17.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007165/0.4147, allocations: 51.95 kB / 404.8 MB, free: 17.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.4149, allocations: 36.34 kB / 404.9 MB, free: 17.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.4149, allocations: 23.98 kB / 404.9 MB, free: 17.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009645/0.4159, allocations: 0.5887 MB / 405.5 MB, free: 17.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4159, allocations: 0 / 405.5 MB, free: 17.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009521/0.4169, allocations: 286.8 kB / 405.8 MB, free: 16.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (51): * Single equations (assignments): 51 * 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.002423/0.4193, allocations: 1.937 MB / 407.7 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.4209, allocations: 0.6656 MB / 408.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4209, allocations: 0 / 408.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006681/0.4216, allocations: 334.8 kB / 408.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.4228, allocations: 174.8 kB / 408.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.435, allocations: 7.642 MB / 416.5 MB, free: 6.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009306/0.436, allocations: 1.344 MB / 417.9 MB, free: 4.652 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007329/0.4367, allocations: 387.3 kB / 418.2 MB, free: 4.273 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.4367, allocations: 0 / 418.2 MB, free: 4.273 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.875/3.312, allocations: 19.26 MB / 437.5 MB, free: 1.016 MB / 314.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYD.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat