Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",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.0008569/0.0008568, allocations: 89.39 kB / 16.32 MB, free: 6.449 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.0008359/0.000836, allocations: 180 kB / 17.21 MB, free: 6.32 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.409/1.409, allocations: 223.3 MB / 241.2 MB, free: 284 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002645, allocations: 4 kB / 300.9 MB, free: 6.348 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1149, allocations: 50.42 MB / 351.3 MB, free: 3.914 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003873/0.1188, allocations: 3.225 MB / 354.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1207, allocations: 0.9078 MB / 355.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.121, allocations: 19.88 kB / 355.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.1213, allocations: 115.2 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006763/0.122, allocations: 246.8 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.1222, allocations: 83.92 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.1236, allocations: 1.467 MB / 357.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009561/0.1246, allocations: 0.8059 MB / 358.2 MB, free: 13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005854/0.1252, allocations: 466.2 kB / 358.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007995/0.126, allocations: 0.6148 MB / 359.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.1261, allocations: 68 kB / 359.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.1263, allocations: 76 kB / 359.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003268/0.1266, allocations: 350.9 kB / 359.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.1269, allocations: 269 kB / 360 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.1283, allocations: 1.621 MB / 361.6 MB, free: 9.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1283, allocations: 0 / 361.6 MB, free: 9.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1284, allocations: 0 / 361.6 MB, free: 9.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.1284, allocations: 0 / 361.6 MB, free: 9.543 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002384/0.1308, allocations: 1.469 MB / 363.1 MB, free: 8.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1308, allocations: 8.031 kB / 363.1 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002221/0.1311, allocations: 181 kB / 363.3 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.1313, allocations: 142.3 kB / 363.4 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.1326, allocations: 0.8219 MB / 364.2 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.142e-05/0.1327, allocations: 82.22 kB / 364.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.1328, allocations: 108 kB / 364.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/0.1361, allocations: 1.548 MB / 366 MB, free: 5.039 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.1361, allocations: 3.984 kB / 366 MB, free: 5.035 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.1363, allocations: 47.95 kB / 366 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.549e-05/0.1363, allocations: 28 kB / 366.1 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/0.1394, allocations: 1.32 MB / 367.4 MB, free: 3.633 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.217/0.3564, allocations: 4.231 MB / 371.6 MB, free: 22.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.3576, allocations: 1.319 MB / 372.9 MB, free: 21.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008001/0.3584, allocations: 472.4 kB / 373.4 MB, free: 21.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.3585, allocations: 8.891 kB / 373.4 MB, free: 21.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.3585, allocations: 44.2 kB / 373.4 MB, free: 21.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 3.186e-06/0.3585, allocations: 1.156 kB / 373.4 MB, free: 21.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003606/0.3621, allocations: 1.972 MB / 375.4 MB, free: 21.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.3622, allocations: 58.2 kB / 375.5 MB, free: 21.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.3633, allocations: 0.8102 MB / 376.3 MB, free: 21.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.3634, allocations: 40.08 kB / 376.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.3637, allocations: 0.5376 MB / 376.9 MB, free: 20.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.3638, allocations: 180.1 kB / 377 MB, free: 20.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.3638, allocations: 10.75 kB / 377 MB, free: 20.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.364, allocations: 386.3 kB / 377.4 MB, free: 20.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.3645, allocations: 307.8 kB / 377.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005323/0.365, allocations: 408.4 kB / 378.1 MB, free: 19.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005735/0.3656, allocations: 378 kB / 378.5 MB, free: 19.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3656, allocations: 0.6094 kB / 378.5 MB, free: 19.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001568/0.3672, allocations: 0.925 MB / 379.4 MB, free: 19.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.3672, allocations: 5.219 kB / 379.4 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3672, allocations: 5.812 kB / 379.4 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003271/0.3676, allocations: 111.8 kB / 379.5 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005313/0.3681, allocations: 127.1 kB / 379.7 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.3702, allocations: 2.18 MB / 381.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.3707, allocations: 28.52 kB / 381.9 MB, free: 17.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.3708, allocations: 18.47 kB / 381.9 MB, free: 17.62 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009085/0.3717, allocations: 459.5 kB / 382.3 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.3718, allocations: 76.66 kB / 382.4 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.372, allocations: 93.98 kB / 382.5 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.372, allocations: 5.656 kB / 382.5 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/0.372, allocations: 2.094 kB / 382.5 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.372, allocations: 6.656 kB / 382.5 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003597/0.3756, allocations: 2.032 MB / 384.5 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.3756, allocations: 1.125 kB / 384.5 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/0.376, allocations: 89.45 kB / 384.6 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002372/0.3763, allocations: 99.16 kB / 384.7 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.3763, allocations: 19.19 kB / 384.8 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.3781, allocations: 2.132 MB / 386.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3782, allocations: 2.594 kB / 386.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.3798, allocations: 1.215 MB / 388.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.38, allocations: 165.1 kB / 388.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.022e-05/0.3801, allocations: 12.12 kB / 388.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.3805, allocations: 55.02 kB / 388.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.3806, allocations: 42.8 kB / 388.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.3806, allocations: 19.66 kB / 388.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007413/0.3814, allocations: 0.5763 MB / 389 MB, free: 13.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3814, allocations: 0 / 389 MB, free: 13.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008352/0.3822, allocations: 208.4 kB / 389.2 MB, free: 13.62 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001724/0.3839, allocations: 1.78 MB / 390.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.3851, allocations: 0.8241 MB / 391.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3851, allocations: 3.969 kB / 391.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005823/0.3857, allocations: 497.4 kB / 392.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008251/0.3866, allocations: 173 kB / 392.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007477/0.394, allocations: 6.318 MB / 398.8 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006236/0.3947, allocations: 1.344 MB / 400.1 MB, free: 6.207 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004213/0.3951, allocations: 185.8 kB / 400.3 MB, free: 6.023 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/0.3955, allocations: 379.3 kB / 400.6 MB, free: 5.652 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3955, allocations: 0 / 400.6 MB, free: 5.652 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.4291, allocations: 17.86 MB / 418.5 MB, free: 4.07 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.4293, allocations: 210.5 kB / 418.7 MB, free: 3.836 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/2.602, allocations: 2.078 kB / 418.7 MB, free: 3.836 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat