Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_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.0007989/0.000799, allocations: 92.27 kB / 16.95 MB, free: 6.113 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.0009074/0.0009076, allocations: 179.6 kB / 17.84 MB, free: 5.73 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.548/1.548, allocations: 205.4 MB / 224 MB, free: 13.15 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.0004525/0.0004525, allocations: 12 kB / 280.9 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09953/0.09999, allocations: 47.58 MB / 328.5 MB, free: 3.965 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.009804/0.1098, allocations: 8.515 MB / 337 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007578/0.1174, allocations: 3.067 MB / 340.1 MB, free: 8.336 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.1195, allocations: 59.81 kB / 340.1 MB, free: 8.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.122, allocations: 0.5284 MB / 340.6 MB, free: 7.746 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004515/0.1266, allocations: 1.198 MB / 341.8 MB, free: 6.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.1297, allocations: 0.9196 MB / 342.8 MB, free: 5.621 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.02178/0.1515, allocations: 15.39 MB / 358.1 MB, free: 6.191 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03156/0.1831, allocations: 15.32 MB / 373.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008016/0.1912, allocations: 3.723 MB / 377.2 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2251/0.4164, allocations: 4.55 MB / 381.7 MB, free: 27.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003952/0.4204, allocations: 0.5819 MB / 382.3 MB, free: 27.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004963/0.4254, allocations: 0.8042 MB / 383.1 MB, free: 27.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003759/0.4292, allocations: 1.867 MB / 385 MB, free: 27.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00631/0.4355, allocations: 1.782 MB / 386.8 MB, free: 27.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01775/0.4533, allocations: 15.69 MB / 402.5 MB, free: 21.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.4533, allocations: 2.344 kB / 402.5 MB, free: 21.01 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.4534, allocations: 0 / 402.5 MB, free: 21.01 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006179/0.454, allocations: 2.734 kB / 402.5 MB, free: 21.01 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03112/0.4851, allocations: 10.85 MB / 413.3 MB, free: 15.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.4852, allocations: 10.28 kB / 413.3 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006638/0.4918, allocations: 1.331 MB / 414.7 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04406/0.5359, allocations: 8.484 MB / 423.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/0.5481, allocations: 5.508 MB / 428.7 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006071/0.5488, allocations: 0.6631 MB / 429.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004978/0.5538, allocations: 0.8675 MB / 430.2 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04624/0.6, allocations: 15.9 MB / 446.1 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000471/0.6005, allocations: 8.984 kB / 446.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00466/0.6052, allocations: 375.2 kB / 446.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006907/0.6059, allocations: 0.5544 MB / 447 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03933/0.6453, allocations: 15.63 MB / 462.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09847/0.7438, allocations: 48.42 MB / 0.4991 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02066/0.7645, allocations: 19.3 MB / 0.5179 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005913/0.7705, allocations: 3.57 MB / 0.5214 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/0.7711, allocations: 177.9 kB / 0.5216 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.185e-05/0.7713, allocations: 86.33 kB / 0.5217 GB, free: 10.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 8.506e-06/0.7713, allocations: 0 / 0.5217 GB, free: 10.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.2461/1.017, allocations: 13.47 MB / 0.5348 GB, free: 135.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.018, allocations: 126 kB / 0.535 GB, free: 135.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008572/1.026, allocations: 3.817 MB / 0.5387 GB, free: 135 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001313/1.028, allocations: 102.1 kB / 0.5388 GB, free: 134.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003578/1.031, allocations: 3.9 MB / 0.5426 GB, free: 132.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002934/1.034, allocations: 1.611 MB / 0.5442 GB, free: 131.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/1.035, allocations: 151.6 kB / 0.5443 GB, free: 131.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0005015/1.036, allocations: 0.6062 MB / 0.5449 GB, free: 131.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005545/1.041, allocations: 3.655 MB / 0.5485 GB, free: 130.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007206/1.049, allocations: 6.493 MB / 0.5548 GB, free: 125.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008282/1.057, allocations: 5.199 MB / 0.5599 GB, free: 123.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.386e-05/1.057, allocations: 27.22 kB / 0.5599 GB, free: 123.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02113/1.078, allocations: 11.88 MB / 0.5715 GB, free: 117.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.963e-05/1.078, allocations: 49.67 kB / 0.5716 GB, free: 117.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001641/1.078, allocations: 92 kB / 0.5716 GB, free: 117.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004487/1.083, allocations: 1.622 MB / 0.5732 GB, free: 116 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006255/1.089, allocations: 1.665 MB / 0.5749 GB, free: 114.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/1.105, allocations: 16.18 MB / 0.5907 GB, free: 98.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006827/1.112, allocations: 0.9523 MB / 0.5916 GB, free: 97.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001947/1.114, allocations: 356 kB / 0.5919 GB, free: 97.32 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009371/1.123, allocations: 3.758 MB / 0.5956 GB, free: 93.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/1.125, allocations: 395.1 kB / 0.596 GB, free: 93.15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01564/1.14, allocations: 8.552 MB / 0.6043 GB, free: 84.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-05/1.141, allocations: 51.95 kB / 0.6044 GB, free: 84.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-05/1.141, allocations: 19.58 kB / 0.6044 GB, free: 84.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.171e-05/1.141, allocations: 27.91 kB / 0.6044 GB, free: 84.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03143/1.172, allocations: 16.89 MB / 0.6209 GB, free: 67.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.101e-05/1.172, allocations: 0 / 0.6209 GB, free: 67.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003557/1.176, allocations: 0.8581 MB / 0.6218 GB, free: 66.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00407/1.18, allocations: 1.507 MB / 0.6232 GB, free: 65.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008723/1.181, allocations: 104 kB / 0.6233 GB, free: 64.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01528/1.196, allocations: 15.99 MB / 0.6389 GB, free: 48.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.196, allocations: 8 kB / 0.6389 GB, free: 48.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02143/1.218, allocations: 12.16 MB / 0.6508 GB, free: 35.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003147/1.221, allocations: 1.12 MB / 0.6519 GB, free: 34.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001706/1.222, allocations: 88 kB / 0.652 GB, free: 34.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003292/1.226, allocations: 307.7 kB / 0.6523 GB, free: 34.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001071/1.227, allocations: 319.5 kB / 0.6526 GB, free: 33.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005766/1.227, allocations: 140 kB / 0.6527 GB, free: 33.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004882/1.232, allocations: 2.543 MB / 0.6552 GB, free: 31.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.232, allocations: 4 kB / 0.6552 GB, free: 31.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.01016/1.243, allocations: 2.377 MB / 0.6575 GB, free: 28.91 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_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 (455): * Single equations (assignments): 449 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02008/1.263, allocations: 12.88 MB / 0.6701 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01721/1.28, allocations: 9.307 MB / 0.6792 GB, free: 6.391 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/1.28, allocations: 4 kB / 0.6792 GB, free: 6.387 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007745/1.288, allocations: 4.462 MB / 0.6836 GB, free: 1.852 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005947/1.294, allocations: 0.7061 MB / 0.6843 GB, free: 1.156 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3113/1.605, allocations: 48.55 MB / 0.7317 GB, free: 133.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009234/1.614, allocations: 6.046 MB / 0.7376 GB, free: 131.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008962/1.623, allocations: 3.259 MB / 0.7408 GB, free: 129.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007336/1.631, allocations: 3.038 MB / 0.7437 GB, free: 126.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.493e-06/1.631, allocations: 0 / 0.7437 GB, free: 126.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4058/2.037, allocations: 121.8 MB / 0.8627 GB, free: 109.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/2.037, allocations: 254.5 kB / 0.863 GB, free: 109 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.744/6.781, allocations: 1.562 kB / 0.863 GB, free: 109 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat