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.001088/0.001088, allocations: 96.91 kB / 16.93 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.001015/0.001015, allocations: 181.6 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.34/1.34, 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.0004667/0.0004667, allocations: 20 kB / 280.9 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08949/0.08997, allocations: 47.57 MB / 328.4 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.00788/0.09789, allocations: 7.928 MB / 336.4 MB, free: 12.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005959/0.1039, allocations: 3.127 MB / 339.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000896/0.1048, allocations: 59.81 kB / 339.6 MB, free: 8.816 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.1064, allocations: 0.5674 MB / 340.1 MB, free: 8.246 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.1093, allocations: 1.13 MB / 341.2 MB, free: 7.113 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.1112, allocations: 0.9234 MB / 342.2 MB, free: 6.188 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01595/0.1272, allocations: 12.22 MB / 354.4 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02586/0.1531, allocations: 15.21 MB / 369.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004967/0.1581, allocations: 3.298 MB / 372.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006642/0.1648, allocations: 4.102 MB / 377 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002348/0.1672, allocations: 0.582 MB / 377.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003245/0.1704, allocations: 0.7732 MB / 378.4 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002304/0.1728, allocations: 1.803 MB / 380.2 MB, free: 52 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1808/0.3535, allocations: 1.78 MB / 381.9 MB, free: 31.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01617/0.3698, allocations: 15.66 MB / 397.6 MB, free: 25.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3698, allocations: 0.7812 kB / 397.6 MB, free: 25.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.3698, allocations: 0 / 397.6 MB, free: 25.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005965/0.3704, allocations: 5.062 kB / 397.6 MB, free: 25.11 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.03425/0.4047, allocations: 10.81 MB / 408.4 MB, free: 19.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.4048, allocations: 10.28 kB / 408.4 MB, free: 19.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006413/0.4112, allocations: 1.329 MB / 409.8 MB, free: 19.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04617/0.4574, allocations: 8.539 MB / 418.3 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01456/0.472, allocations: 5.483 MB / 423.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006142/0.4727, allocations: 0.6587 MB / 424.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004444/0.4771, allocations: 0.8634 MB / 425.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04225/0.5194, allocations: 15.83 MB / 441.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003878/0.5198, allocations: 11.91 kB / 441.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003281/0.5231, allocations: 373.4 kB / 441.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005916/0.5237, allocations: 0.5543 MB / 442.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03351/0.5572, allocations: 15.63 MB / 457.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09424/0.6515, allocations: 48.44 MB / 0.4943 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02042/0.672, allocations: 19.29 MB / 0.5131 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005529/0.6726, allocations: 179.2 kB / 0.5133 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.521e-05/0.6726, allocations: 79.42 kB / 0.5134 GB, free: 3.973 MB / 414.1 MB Notification: Performance of pre-optimization done (n=468): time 6.943e-06/0.6727, allocations: 0 / 0.5134 GB, free: 3.973 MB / 414.1 MB Notification: Performance of matching and sorting (n=468): time 0.02448/0.6971, allocations: 11.49 MB / 0.5246 GB, free: 8.391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.6973, allocations: 136.5 kB / 0.5247 GB, free: 8.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008505/0.7058, allocations: 3.815 MB / 0.5284 GB, free: 4.418 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009522/0.7068, allocations: 101.7 kB / 0.5285 GB, free: 4.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003106/0.7099, allocations: 3.892 MB / 0.5323 GB, free: 416 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2024/0.9124, allocations: 1.606 MB / 0.5339 GB, free: 137 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009469/0.9134, allocations: 145.5 kB / 0.534 GB, free: 137 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004724/0.9139, allocations: 0.6139 MB / 0.5346 GB, free: 136.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00601/0.9199, allocations: 3.652 MB / 0.5382 GB, free: 136.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007307/0.9272, allocations: 6.47 MB / 0.5445 GB, free: 133.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007363/0.9346, allocations: 5.196 MB / 0.5496 GB, free: 131.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001088/0.9348, allocations: 27.22 kB / 0.5496 GB, free: 131.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02188/0.9567, allocations: 11.88 MB / 0.5612 GB, free: 126.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.355e-05/0.9568, allocations: 44 kB / 0.5613 GB, free: 126.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/0.9569, allocations: 92 kB / 0.5613 GB, free: 126.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004382/0.9613, allocations: 1.632 MB / 0.5629 GB, free: 125.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006363/0.9677, allocations: 1.662 MB / 0.5646 GB, free: 123.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/0.9841, allocations: 16.54 MB / 0.5807 GB, free: 108.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007144/0.9913, allocations: 0.9446 MB / 0.5816 GB, free: 107.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/0.993, allocations: 359.8 kB / 0.582 GB, free: 107.1 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.008167/1.001, allocations: 3.756 MB / 0.5857 GB, free: 104 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009611/1.002, allocations: 395.1 kB / 0.586 GB, free: 103.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/1.015, allocations: 8.553 MB / 0.5944 GB, free: 95.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.765e-05/1.015, allocations: 52 kB / 0.5944 GB, free: 95.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-05/1.015, allocations: 16 kB / 0.5944 GB, free: 95.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.059e-05/1.015, allocations: 23.91 kB / 0.5945 GB, free: 95.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0303/1.046, allocations: 16.89 MB / 0.611 GB, free: 78.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/1.046, allocations: 0 / 0.611 GB, free: 78.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003418/1.049, allocations: 0.8581 MB / 0.6118 GB, free: 77.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00435/1.053, allocations: 1.504 MB / 0.6133 GB, free: 75.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008911/1.054, allocations: 104 kB / 0.6134 GB, free: 75.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01515/1.07, allocations: 16.36 MB / 0.6293 GB, free: 58.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/1.07, allocations: 4 kB / 0.6294 GB, free: 58.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01727/1.087, allocations: 12.37 MB / 0.6414 GB, free: 45.83 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003601/1.091, allocations: 1.116 MB / 0.6425 GB, free: 44.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009494/1.091, allocations: 80 kB / 0.6426 GB, free: 44.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002545/1.094, allocations: 308.9 kB / 0.6429 GB, free: 44.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006316/1.095, allocations: 323.6 kB / 0.6432 GB, free: 44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002646/1.095, allocations: 136 kB / 0.6433 GB, free: 43.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00405/1.099, allocations: 2.547 MB / 0.6458 GB, free: 41.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.099, allocations: 0 / 0.6458 GB, free: 41.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007871/1.107, allocations: 2.377 MB / 0.6481 GB, free: 38.93 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.01636/1.123, allocations: 13.61 MB / 0.6614 GB, free: 25.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01527/1.139, allocations: 9.306 MB / 0.6705 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/1.139, allocations: 0 / 0.6705 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00712/1.146, allocations: 4.473 MB / 0.6749 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004222/1.15, allocations: 0.6301 MB / 0.6755 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2995/1.45, allocations: 112.2 MB / 0.7851 GB, free: 80.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008759/1.458, allocations: 6.185 MB / 0.7911 GB, free: 78.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008554/1.467, allocations: 3.252 MB / 0.7943 GB, free: 76.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005643/1.473, allocations: 3.038 MB / 0.7972 GB, free: 73.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.643e-06/1.473, allocations: 4 kB / 0.7972 GB, free: 73.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3573/1.83, allocations: 121.7 MB / 0.9161 GB, free: 114 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001428/1.83, allocations: 241.1 kB / 0.9164 GB, free: 113.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.52/6.35, allocations: 4.484 kB / 0.9164 GB, free: 113.8 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