Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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 3.2.3+maint.om/package.mo", uses=false) 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 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.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",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.000935/0.0009349, allocations: 101 kB / 16.94 MB, free: 5.98 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.001095/0.001095, allocations: 178.1 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004134, allocations: 11.28 kB / 280.9 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0764/0.07682, allocations: 47.57 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.003787/0.08064, allocations: 3.722 MB / 332.1 MB, free: 268 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.08285, allocations: 1.633 MB / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.08306, allocations: 19.94 kB / 333.8 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.08345, allocations: 206.9 kB / 334 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.08447, allocations: 0.545 MB / 334.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.08482, allocations: 163.7 kB / 334.7 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.08609, allocations: 1.181 MB / 335.9 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008393/0.08694, allocations: 0.8618 MB / 336.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004752/0.08743, allocations: 0.5527 MB / 337.3 MB, free: 11.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007104/0.08815, allocations: 0.7043 MB / 338 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.08828, allocations: 88 kB / 338.1 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003541/0.08864, allocations: 187.9 kB / 338.3 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.08896, allocations: 394.8 kB / 338.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.0892, allocations: 328.9 kB / 339 MB, free: 9.387 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.09067, allocations: 2.022 MB / 341 MB, free: 7.359 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.09068, allocations: 0 / 341 MB, free: 7.359 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09069, allocations: 0 / 341 MB, free: 7.359 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.09071, allocations: 0 / 341 MB, free: 7.359 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003569/0.09429, allocations: 1.922 MB / 342.9 MB, free: 5.383 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.09433, allocations: 8.031 kB / 342.9 MB, free: 5.375 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002278/0.09456, allocations: 206.6 kB / 343.1 MB, free: 5.164 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.09617, allocations: 377.7 kB / 343.5 MB, free: 4.793 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.09781, allocations: 1.001 MB / 344.5 MB, free: 3.746 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.79e-05/0.0979, allocations: 106.6 kB / 344.6 MB, free: 3.641 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.09809, allocations: 132 kB / 344.7 MB, free: 3.512 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/0.1008, allocations: 1.882 MB / 346.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.1008, allocations: 0 / 346.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.101, allocations: 56 kB / 346.7 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/0.101, allocations: 46 kB / 346.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/0.1035, allocations: 1.695 MB / 348.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00775/0.1113, allocations: 5.63 MB / 354 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/0.1142, allocations: 2.914 MB / 357 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002212/0.1165, allocations: 1.537 MB / 358.5 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1165, allocations: 42.83 kB / 358.5 MB, free: 4.938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 1.934e-06/0.1165, allocations: 0 / 358.5 MB, free: 4.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.002872/0.1194, allocations: 1.438 MB / 360 MB, free: 3.469 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.1194, allocations: 85.05 kB / 360.1 MB, free: 3.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.1206, allocations: 1.024 MB / 361.1 MB, free: 2.332 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.1207, allocations: 33.7 kB / 361.1 MB, free: 2.293 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004525/0.1212, allocations: 0.6852 MB / 361.8 MB, free: 1.598 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.1213, allocations: 189.3 kB / 362 MB, free: 1.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.1213, allocations: 12 kB / 362 MB, free: 1.398 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1215, allocations: 334 kB / 362.3 MB, free: 1.066 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005576/0.122, allocations: 369 kB / 362.7 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000637/0.1227, allocations: 0.5254 MB / 363.2 MB, free: 112 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/0.1233, allocations: 445.3 kB / 363.6 MB, free: 15.67 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1233, allocations: 0 / 363.6 MB, free: 15.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001502/0.1249, allocations: 1.021 MB / 364.7 MB, free: 14.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1249, allocations: 8 kB / 364.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1249, allocations: 4.312 kB / 364.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.1249, allocations: 12 kB / 364.7 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007114/0.1256, allocations: 191.7 kB / 364.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.1257, allocations: 8 kB / 364.9 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004918/0.1262, allocations: 103.2 kB / 365 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.1262, allocations: 27.98 kB / 365 MB, free: 14.3 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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.0006706/0.1269, allocations: 0.5286 MB / 365.5 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.127, allocations: 90.92 kB / 365.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.1282, allocations: 0.698 MB / 366.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1282, allocations: 4 kB / 366.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.1282, allocations: 4 kB / 366.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1283, allocations: 3.984 kB / 366.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.1306, allocations: 1.668 MB / 368 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1306, allocations: 0 / 368 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.131, allocations: 107.9 kB / 368.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003835/0.1314, allocations: 151.9 kB / 368.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.1315, allocations: 19.98 kB / 368.3 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002753/0.1342, allocations: 2.658 MB / 370.9 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.1343, allocations: 4.031 kB / 370.9 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.1364, allocations: 1.564 MB / 372.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.1367, allocations: 188 kB / 372.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.1368, allocations: 15.98 kB / 372.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005104/0.1373, allocations: 71.94 kB / 372.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.1374, allocations: 55.88 kB / 372.8 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.1375, allocations: 23.98 kB / 372.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008717/0.1384, allocations: 0.7215 MB / 373.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1384, allocations: 0 / 373.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009423/0.1393, allocations: 358.5 kB / 373.9 MB, free: 5.094 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * 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%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002607/0.1419, allocations: 2.412 MB / 376.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.1432, allocations: 0.7999 MB / 377.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1432, allocations: 3.938 kB / 377.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009393/0.1442, allocations: 0.5905 MB / 377.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006898/0.1449, allocations: 163.4 kB / 377.9 MB, free: 1.047 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1406/0.2855, allocations: 11.02 MB / 388.9 MB, free: 47.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.2866, allocations: 1.516 MB / 390.4 MB, free: 46.29 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006622/0.2873, allocations: 237.8 kB / 390.7 MB, free: 46.28 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005134/0.2878, allocations: 483.2 kB / 391.1 MB, free: 45.89 MB / 318.1 MB Notification: Performance of SimCode: time 1.853e-06/0.2878, allocations: 1.344 kB / 391.1 MB, free: 45.89 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.3207, allocations: 21.05 MB / 412.2 MB, free: 30.93 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/0.321, allocations: 239 kB / 412.4 MB, free: 30.68 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.1/2.421, allocations: 0 / 412.4 MB, free: 30.68 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat