Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009687/0.0009687, allocations: 99.86 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.00135, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246 MB, free: 10.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002683, allocations: 4 kB / 306.8 MB, free: 1.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.117, allocations: 51.5 MB / 358.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006235/0.1233, allocations: 5.736 MB / 364.1 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004401/0.1277, allocations: 2.052 MB / 366.1 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006545/0.1284, allocations: 35.88 kB / 366.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007812/0.1292, allocations: 278.3 kB / 366.4 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002885/0.1321, allocations: 0.7117 MB / 367.1 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.1332, allocations: 235.6 kB / 367.4 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004436/0.1376, allocations: 3.242 MB / 370.6 MB, free: 1.402 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2218/0.3594, allocations: 1.472 MB / 372.1 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.3617, allocations: 0.98 MB / 373 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.3644, allocations: 1.341 MB / 374.4 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005137/0.365, allocations: 137.1 kB / 374.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.3661, allocations: 259.5 kB / 374.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000892/0.367, allocations: 0.6512 MB / 375.4 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008589/0.3679, allocations: 0.5037 MB / 375.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00447/0.3724, allocations: 3.237 MB / 379.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3724, allocations: 0 / 379.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3724, allocations: 1.688 kB / 379.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000169/0.3726, allocations: 3.094 kB / 379.2 MB, free: 9.125 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.009206/0.3818, allocations: 3.046 MB / 382.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3819, allocations: 8.875 kB / 382.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001247/0.3831, allocations: 336.1 kB / 382.6 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004706/0.3879, allocations: 0.7846 MB / 383.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004428/0.3923, allocations: 1.565 MB / 384.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.3925, allocations: 173.7 kB / 385.1 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009739/0.3935, allocations: 231.2 kB / 385.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007213/0.4007, allocations: 3.201 MB / 388.5 MB, free: 6.422 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.433e-05/0.4008, allocations: 0 / 388.5 MB, free: 6.422 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002607/0.4011, allocations: 94.27 kB / 388.6 MB, free: 6.422 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.4012, allocations: 72.16 kB / 388.7 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005988/0.4072, allocations: 2.886 MB / 391.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01832/0.4255, allocations: 9.304 MB / 400.9 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005664/0.4313, allocations: 4.39 MB / 405.2 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.4328, allocations: 0.8301 MB / 406.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007258/0.4401, allocations: 3.157 MB / 409.2 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/0.4402, allocations: 46.89 kB / 409.3 MB, free: 6.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 5.771e-06/0.4402, allocations: 0 / 409.3 MB, free: 6.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.01577/0.456, allocations: 4.279 MB / 413.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.635e-05/0.4562, allocations: 111.2 kB / 413.7 MB, free: 2.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005262/0.4614, allocations: 1.577 MB / 415.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004272/0.4619, allocations: 42.92 kB / 415.3 MB, free: 488 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001635/0.4636, allocations: 1.108 MB / 416.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008733/0.4645, allocations: 357.4 kB / 416.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/0.4649, allocations: 24 kB / 416.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000269/0.4651, allocations: 357.9 kB / 417.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002417/0.4676, allocations: 0.6505 MB / 417.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002723/0.4703, allocations: 1.03 MB / 418.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/0.4732, allocations: 0.8107 MB / 419.6 MB, free: 12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.992e-05/0.4732, allocations: 4 kB / 419.6 MB, free: 12 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006991/0.4802, allocations: 1.971 MB / 421.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/0.4803, allocations: 11.98 kB / 421.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/0.4804, allocations: 12 kB / 421.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006703/0.4811, allocations: 127.1 kB / 421.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/0.4837, allocations: 335.8 kB / 422.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004978/0.4887, allocations: 3.187 MB / 425.2 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/0.4913, allocations: 107.7 kB / 425.3 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/0.4917, allocations: 59.92 kB / 425.4 MB, free: 5.973 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003306/0.495, allocations: 0.8289 MB / 426.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009049/0.4959, allocations: 154.2 kB / 426.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005466/0.5014, allocations: 1.413 MB / 427.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/0.5015, allocations: 12 kB / 427.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-05/0.5015, allocations: 4 kB / 427.8 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/0.5016, allocations: 15.92 kB / 427.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008684/0.5103, allocations: 2.449 MB / 430.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/0.5103, allocations: 6.406 kB / 430.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.5121, allocations: 191.8 kB / 430.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/0.5134, allocations: 256.4 kB / 430.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/0.5136, allocations: 39.92 kB / 430.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008711/0.5223, allocations: 5.768 MB / 436.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.5223, allocations: 3.938 kB / 436.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005022/0.5274, allocations: 2.594 MB / 439.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007394/0.5282, allocations: 255.1 kB / 439.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005116/0.5287, allocations: 27.98 kB / 439.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.53, allocations: 103.9 kB / 439.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002856/0.5303, allocations: 100.2 kB / 439.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.5304, allocations: 28 kB / 439.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002323/0.5328, allocations: 1.103 MB / 440.7 MB, free: 6.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.72e-07/0.5328, allocations: 0 / 440.7 MB, free: 6.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00283/0.5356, allocations: 452 kB / 441.2 MB, free: 5.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[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 (76): * Single equations (assignments): 73 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 16,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005411/0.5411, allocations: 3.199 MB / 444.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003477/0.5446, allocations: 1.738 MB / 446.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.5446, allocations: 0 / 446.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002225/0.5469, allocations: 1.19 MB / 447.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/0.5501, allocations: 280.8 kB / 447.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/0.5781, allocations: 13.55 MB / 461.1 MB, free: 1.117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/0.5807, allocations: 2.101 MB / 463.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001604/0.5824, allocations: 451.3 kB / 463.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/0.5837, allocations: 0.8117 MB / 464.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5837, allocations: 3.938 kB / 464.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06037/0.6441, allocations: 34.9 MB / 499.4 MB, free: 11.19 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.6443, allocations: 247.7 kB / 499.6 MB, free: 10.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.253, allocations: 0 / 499.6 MB, free: 10.94 MB / 414.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat does not exist to compare? outputFormat=mat