Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.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.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",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.001026/0.001026, allocations: 99.41 kB / 16.95 MB, free: 6.086 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.001119/0.001119, allocations: 178.3 kB / 17.84 MB, free: 5.715 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.617/1.617, allocations: 205.4 MB / 224 MB, free: 12.89 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.0004574/0.0004574, allocations: 19.11 kB / 280.9 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 47.58 MB / 328.5 MB, free: 3.953 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.006495/0.1245, allocations: 5.343 MB / 333.8 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003721/0.1283, allocations: 1.598 MB / 335.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006409/0.129, allocations: 31.88 kB / 335.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.1295, allocations: 218.4 kB / 335.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.1306, allocations: 369.9 kB / 336 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.1311, allocations: 219.7 kB / 336.2 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001983/0.1331, allocations: 2.121 MB / 338.3 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00191/0.135, allocations: 1.593 MB / 339.9 MB, free: 8.395 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.1361, allocations: 0.72 MB / 340.6 MB, free: 7.672 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.1373, allocations: 0.9335 MB / 341.6 MB, free: 6.734 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.1375, allocations: 124 kB / 341.7 MB, free: 6.613 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.138, allocations: 227.8 kB / 341.9 MB, free: 6.391 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000455/0.1385, allocations: 0.4945 MB / 342.4 MB, free: 5.895 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00045/0.139, allocations: 428.6 kB / 342.8 MB, free: 5.469 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002476/0.1414, allocations: 2.887 MB / 345.7 MB, free: 2.574 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1415, allocations: 0 / 345.7 MB, free: 2.574 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1415, allocations: 0 / 345.7 MB, free: 2.574 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.528e-05/0.1415, allocations: 0 / 345.7 MB, free: 2.574 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.003527/0.145, allocations: 2.113 MB / 347.8 MB, free: 408 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1451, allocations: 8.031 kB / 347.8 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003705/0.1455, allocations: 299.5 kB / 348.1 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000415/0.1459, allocations: 229.4 kB / 348.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.1476, allocations: 1.134 MB / 349.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.1477, allocations: 160.2 kB / 349.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002802/0.148, allocations: 208 kB / 349.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004389/0.1524, allocations: 2.599 MB / 352.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.1524, allocations: 0 / 352.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.1526, allocations: 83.98 kB / 352.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.438e-05/0.1527, allocations: 52 kB / 352.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/0.1563, allocations: 2.077 MB / 354.7 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.1679, allocations: 7.467 MB / 362.1 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.1703, allocations: 2.358 MB / 364.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.1717, allocations: 0.9395 MB / 365.4 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.284e-05/0.1717, allocations: 13 kB / 365.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.1718, allocations: 43.56 kB / 365.5 MB, free: 14.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 3.527e-06/0.1718, allocations: 0 / 365.5 MB, free: 14.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.007661/0.1795, allocations: 4.209 MB / 369.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.1796, allocations: 60.41 kB / 369.7 MB, free: 9.754 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.1807, allocations: 0.8563 MB / 370.6 MB, free: 8.891 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.1808, allocations: 41.7 kB / 370.6 MB, free: 8.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005618/0.1813, allocations: 0.8255 MB / 371.5 MB, free: 8.004 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.1816, allocations: 335.2 kB / 371.8 MB, free: 7.672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.1817, allocations: 20 kB / 371.8 MB, free: 7.652 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1818, allocations: 345.9 kB / 372.2 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007239/0.1826, allocations: 0.4899 MB / 372.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009059/0.1835, allocations: 0.6777 MB / 373.3 MB, free: 6.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008573/0.1843, allocations: 0.569 MB / 373.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1844, allocations: 0 / 373.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002588/0.187, allocations: 1.628 MB / 375.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.187, allocations: 12 kB / 375.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/0.187, allocations: 4 kB / 375.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.1881, allocations: 463 kB / 376 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/0.1887, allocations: 179.6 kB / 376.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2135/0.4023, allocations: 8.451 MB / 384.6 MB, free: 46.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/0.4031, allocations: 49.66 kB / 384.7 MB, free: 46.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/0.4031, allocations: 35.42 kB / 384.7 MB, free: 46.52 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: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001204/0.4044, allocations: 0.6399 MB / 385.3 MB, free: 46.38 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.4046, allocations: 101.5 kB / 385.4 MB, free: 46.38 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.4049, allocations: 130.8 kB / 385.6 MB, free: 46.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/0.4049, allocations: 11.7 kB / 385.6 MB, free: 46.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.4049, allocations: 1 kB / 385.6 MB, free: 46.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.4049, allocations: 5.984 kB / 385.6 MB, free: 46.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006678/0.4116, allocations: 3.522 MB / 389.1 MB, free: 44.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.515e-06/0.4117, allocations: 0.9688 kB / 389.1 MB, free: 44.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/0.4123, allocations: 134.1 kB / 389.2 MB, free: 44.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.4134, allocations: 457.2 kB / 389.7 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-05/0.4135, allocations: 20.91 kB / 389.7 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007677/0.4212, allocations: 8.378 MB / 398.1 MB, free: 38.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4212, allocations: 1.062 kB / 398.1 MB, free: 38.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003723/0.425, allocations: 2.313 MB / 400.4 MB, free: 37.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/0.4255, allocations: 285.5 kB / 400.7 MB, free: 37.03 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.4256, allocations: 22.83 kB / 400.7 MB, free: 37.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.426, allocations: 43.64 kB / 400.7 MB, free: 37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.4262, allocations: 95.77 kB / 400.8 MB, free: 36.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-05/0.4263, allocations: 21.88 kB / 400.9 MB, free: 36.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009748/0.4273, allocations: 0.6011 MB / 401.5 MB, free: 36.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4273, allocations: 0 / 401.5 MB, free: 36.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001718/0.429, allocations: 380.6 kB / 401.8 MB, free: 36.7 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003518/0.4325, allocations: 2.899 MB / 404.7 MB, free: 34.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00234/0.4349, allocations: 1.815 MB / 406.5 MB, free: 33.72 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4349, allocations: 4.375 kB / 406.5 MB, free: 33.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.4363, allocations: 1.243 MB / 407.8 MB, free: 32.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.4375, allocations: 289.4 kB / 408.1 MB, free: 32.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.4493, allocations: 9.553 MB / 417.6 MB, free: 23.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.4505, allocations: 1.726 MB / 419.3 MB, free: 21.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005599/0.451, allocations: 188.9 kB / 419.5 MB, free: 21.19 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005792/0.4516, allocations: 0.6165 MB / 420.2 MB, free: 20.57 MB / 318.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4516, allocations: 0 / 420.2 MB, free: 20.57 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05021/0.5018, allocations: 30.6 MB / 450.8 MB, free: 5.926 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.5021, allocations: 223.1 kB / 451 MB, free: 5.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.086, allocations: 0 / 451 MB, free: 5.68 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat