Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",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.000941/0.0009412, allocations: 94.45 kB / 16.95 MB, free: 6.891 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.00145/0.00145, allocations: 185.9 kB / 17.84 MB, free: 6.137 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.594/1.594, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004187/0.0004187, allocations: 8 kB / 280.9 MB, free: 3.621 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0955/0.09593, allocations: 47.57 MB / 328.4 MB, free: 3.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01002/0.106, allocations: 9.394 MB / 337.8 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007147/0.1132, allocations: 3.121 MB / 341 MB, free: 7.414 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002253/0.1155, allocations: 63.62 kB / 341 MB, free: 7.352 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002024/0.1175, allocations: 0.5395 MB / 341.6 MB, free: 6.809 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003409/0.121, allocations: 1.018 MB / 342.6 MB, free: 5.785 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.1222, allocations: 299.7 kB / 342.9 MB, free: 5.492 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006316/0.1285, allocations: 5.451 MB / 348.3 MB, free: 20 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004608/0.1331, allocations: 2.882 MB / 351.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003106/0.1363, allocations: 1.728 MB / 352.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003831/0.1401, allocations: 2.237 MB / 355.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001118/0.1412, allocations: 280 kB / 355.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.1432, allocations: 343.9 kB / 355.8 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001889/0.1451, allocations: 1.207 MB / 357 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001951/0.147, allocations: 0.9447 MB / 357.9 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006888/0.1539, allocations: 6.817 MB / 364.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1539, allocations: 0 / 364.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.154, allocations: 0 / 364.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001968/0.1542, allocations: 0 / 364.8 MB, free: 15.5 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.008387/0.1625, allocations: 4.308 MB / 369.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.1626, allocations: 12.03 kB / 369.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001049/0.1637, allocations: 0.5555 MB / 369.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.165, allocations: 0.5489 MB / 370.2 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004172/0.1692, allocations: 2.511 MB / 372.7 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.1695, allocations: 287.8 kB / 373 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005573/0.1701, allocations: 396 kB / 373.4 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.1808, allocations: 5.762 MB / 379.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.629e-05/0.1809, allocations: 4 kB / 379.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005138/0.1815, allocations: 160 kB / 379.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002203/0.1817, allocations: 212 kB / 379.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2179/0.3996, allocations: 4.988 MB / 384.5 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03767/0.4373, allocations: 16.51 MB / 401 MB, free: 37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007837/0.4452, allocations: 6.81 MB / 407.8 MB, free: 31.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003752/0.449, allocations: 2.677 MB / 410.5 MB, free: 28.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003521/0.4494, allocations: 136.5 kB / 410.6 MB, free: 28.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.812e-05/0.4495, allocations: 64.55 kB / 410.7 MB, free: 28.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=249): time 5.44e-06/0.4495, allocations: 0 / 410.7 MB, free: 28.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=256): time 0.01955/0.4691, allocations: 10.71 MB / 421.4 MB, free: 17.42 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.4692, allocations: 77.42 kB / 421.5 MB, free: 17.33 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005262/0.4744, allocations: 2.608 MB / 424.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005056/0.475, allocations: 73.7 kB / 424.1 MB, free: 14.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.4762, allocations: 1.635 MB / 425.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001016/0.4772, allocations: 0.8427 MB / 426.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/0.4775, allocations: 52.84 kB / 426.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.4777, allocations: 402.7 kB / 427.1 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.4799, allocations: 1.336 MB / 428.4 MB, free: 10.35 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/0.4822, allocations: 1.65 MB / 430 MB, free: 8.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.4846, allocations: 1.569 MB / 431.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.4846, allocations: 0 / 431.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007335/0.4919, allocations: 4.453 MB / 436.1 MB, free: 2.484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.492, allocations: 8 kB / 436.1 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.492, allocations: 12.06 kB / 436.1 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00488/0.4969, allocations: 1.646 MB / 437.7 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.4987, allocations: 391.5 kB / 438.1 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02894/0.5277, allocations: 23.48 MB / 461.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/0.5302, allocations: 95.92 kB / 461.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005342/0.5308, allocations: 76 kB / 461.8 MB, free: 7.449 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.003724/0.5346, allocations: 1.403 MB / 463.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/0.5358, allocations: 300.5 kB / 463.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/0.5463, allocations: 4.372 MB / 467.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.169e-05/0.5463, allocations: 24 kB / 467.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-05/0.5464, allocations: 8 kB / 467.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.051e-05/0.5464, allocations: 11.95 kB / 467.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02165/0.5681, allocations: 8.887 MB / 476.8 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.813e-05/0.5682, allocations: 10.62 kB / 476.8 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.5696, allocations: 295.6 kB / 477.1 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006055/0.5756, allocations: 1.619 MB / 478.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004583/0.5762, allocations: 59.98 kB / 478.7 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02951/0.6057, allocations: 23.24 MB / 0.4902 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6057, allocations: 0 / 0.4902 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/0.6197, allocations: 6.078 MB / 0.4961 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003072/0.6229, allocations: 0.6772 MB / 0.4968 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001249/0.6242, allocations: 59.98 kB / 0.4969 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002435/0.6266, allocations: 135.8 kB / 0.497 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007667/0.6274, allocations: 214.4 kB / 0.4972 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/0.6277, allocations: 63.98 kB / 0.4973 GB, free: 6.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.005459/0.6332, allocations: 1.837 MB / 0.499 GB, free: 4.516 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6332, allocations: 0 / 0.499 GB, free: 4.516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.007083/0.6403, allocations: 0.9497 MB / 0.5 GB, free: 3.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01159/0.6519, allocations: 6.751 MB / 0.5066 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008384/0.6603, allocations: 4.843 MB / 0.5113 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/0.6604, allocations: 8.062 kB / 0.5113 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005399/0.6658, allocations: 3.343 MB / 0.5146 GB, free: 4.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005614/0.6715, allocations: 0.9315 MB / 0.5155 GB, free: 3.297 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2618/0.9333, allocations: 26.43 MB / 0.5413 GB, free: 138.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00334/0.9367, allocations: 3.177 MB / 0.5444 GB, free: 137.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001984/0.9387, allocations: 0.5664 MB / 0.5449 GB, free: 137.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/0.9403, allocations: 1.464 MB / 0.5464 GB, free: 137.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.803e-06/0.9403, allocations: 0 / 0.5464 GB, free: 137.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1205/1.061, allocations: 86.4 MB / 0.6307 GB, free: 62.15 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/1.061, allocations: 274.5 kB / 0.631 GB, free: 61.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.866/5.927, allocations: 0 / 0.631 GB, free: 61.79 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat