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.001216/0.001216, allocations: 91.11 kB / 16.95 MB, free: 6.383 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.001365/0.001365, allocations: 182.9 kB / 17.84 MB, free: 5.98 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.557/1.557, 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.0004469/0.0004469, allocations: 8 kB / 280.9 MB, free: 3.621 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09884/0.09929, allocations: 47.57 MB / 328.4 MB, free: 3.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.00431/0.1036, allocations: 3.962 MB / 332.4 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.1065, allocations: 1.606 MB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003244/0.1069, allocations: 27.81 kB / 334 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005725/0.1075, allocations: 190.9 kB / 334.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.1091, allocations: 0.5796 MB / 334.8 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.1097, allocations: 179.6 kB / 335 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00234/0.1121, allocations: 1.961 MB / 336.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009782/0.113, allocations: 0.8579 MB / 337.8 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009201/0.114, allocations: 0.5914 MB / 338.4 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.1151, allocations: 0.8249 MB / 339.2 MB, free: 9.145 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.1153, allocations: 84 kB / 339.3 MB, free: 9.062 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005424/0.1158, allocations: 211.8 kB / 339.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.1162, allocations: 422.5 kB / 339.9 MB, free: 8.441 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.1165, allocations: 324.9 kB / 340.2 MB, free: 8.117 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.1182, allocations: 2.034 MB / 342.3 MB, free: 6.078 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1182, allocations: 0 / 342.3 MB, free: 6.078 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1183, allocations: 0 / 342.3 MB, free: 6.078 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.915e-05/0.1183, allocations: 0 / 342.3 MB, free: 6.078 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.00364/0.1219, allocations: 1.922 MB / 344.2 MB, free: 4.102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.122, allocations: 8.031 kB / 344.2 MB, free: 4.094 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002457/0.1222, allocations: 210.6 kB / 344.4 MB, free: 3.879 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.1239, allocations: 357.7 kB / 344.8 MB, free: 3.527 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.1253, allocations: 1.024 MB / 345.8 MB, free: 2.457 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.4e-05/0.1253, allocations: 98.67 kB / 345.9 MB, free: 2.359 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.1255, allocations: 132 kB / 346 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/0.1284, allocations: 1.89 MB / 347.9 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.1285, allocations: 0 / 347.9 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.1286, allocations: 52 kB / 347.9 MB, free: 264 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.661e-05/0.1287, allocations: 50 kB / 348 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.1313, allocations: 1.695 MB / 349.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008178/0.1395, allocations: 5.63 MB / 355.3 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002868/0.1424, allocations: 2.918 MB / 358.2 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007331/0.1432, allocations: 0.5074 MB / 358.7 MB, free: 4.785 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002249/0.1454, allocations: 1.533 MB / 360.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1455, allocations: 46.48 kB / 360.3 MB, free: 3.129 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.154e-06/0.1455, allocations: 0 / 360.3 MB, free: 3.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.00311/0.1486, allocations: 1.477 MB / 361.8 MB, free: 1.621 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.1487, allocations: 85.05 kB / 361.9 MB, free: 1.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.1499, allocations: 1.02 MB / 362.9 MB, free: 500 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.15, allocations: 33.7 kB / 362.9 MB, free: 460 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004497/0.1504, allocations: 0.6814 MB / 363.6 MB, free: 15.76 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.1506, allocations: 197.3 kB / 363.8 MB, free: 15.56 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.1506, allocations: 8 kB / 363.8 MB, free: 15.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1507, allocations: 334.2 kB / 364.1 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005485/0.1513, allocations: 369 kB / 364.5 MB, free: 14.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006561/0.152, allocations: 0.5215 MB / 365 MB, free: 14.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006446/0.1526, allocations: 453.2 kB / 365.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.1526, allocations: 0 / 365.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001503/0.1541, allocations: 1.029 MB / 366.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.1542, allocations: 8.406 kB / 366.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.1542, allocations: 8 kB / 366.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.1542, allocations: 8 kB / 366.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/0.1549, allocations: 191.8 kB / 366.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.1549, allocations: 11.94 kB / 366.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.1554, allocations: 91.33 kB / 366.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/0.1555, allocations: 28 kB / 366.8 MB, free: 12.45 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.0007753/0.1563, allocations: 0.5208 MB / 367.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.1565, allocations: 98.84 kB / 367.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.1577, allocations: 0.698 MB / 368.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.1577, allocations: 8 kB / 368.2 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.1577, allocations: 4 kB / 368.2 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.1577, allocations: 11.94 kB / 368.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.1601, allocations: 1.652 MB / 369.8 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.1601, allocations: 7.984 kB / 369.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.1605, allocations: 104 kB / 369.9 MB, free: 9.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004261/0.161, allocations: 151.9 kB / 370.1 MB, free: 9.109 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.161, allocations: 23.94 kB / 370.1 MB, free: 9.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003136/0.1642, allocations: 2.607 MB / 372.7 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.1642, allocations: 7.969 kB / 372.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.1668, allocations: 1.503 MB / 374.2 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/0.1671, allocations: 188 kB / 374.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.1673, allocations: 15.95 kB / 374.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/0.1678, allocations: 71.94 kB / 374.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.1679, allocations: 51.91 kB / 374.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.168, allocations: 16 kB / 374.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001056/0.169, allocations: 0.7293 MB / 375.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.169, allocations: 4 kB / 375.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001106/0.1701, allocations: 358.4 kB / 375.7 MB, free: 3.379 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.002572/0.1727, allocations: 2.084 MB / 377.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.1741, allocations: 0.7991 MB / 378.5 MB, free: 452 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1741, allocations: 0 / 378.5 MB, free: 452 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2033/0.3774, allocations: 0.5867 MB / 379.1 MB, free: 52.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.3789, allocations: 178.5 kB / 379.3 MB, free: 52.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.3922, allocations: 7.985 MB / 387.3 MB, free: 49.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.3934, allocations: 1.494 MB / 388.8 MB, free: 49.11 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007796/0.3942, allocations: 234.2 kB / 389 MB, free: 49.08 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005471/0.3948, allocations: 479.7 kB / 389.5 MB, free: 48.7 MB / 318.1 MB Notification: Performance of SimCode: time 1.203e-06/0.3948, allocations: 1.5 kB / 389.5 MB, free: 48.7 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.4295, allocations: 21.08 MB / 410.6 MB, free: 32.75 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/0.4297, allocations: 248.6 kB / 410.8 MB, free: 32.5 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/2.669, allocations: 3.938 kB / 410.8 MB, free: 32.49 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