Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2753, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005182/0.2806, allocations: 3.754 MB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.2827, allocations: 0.9855 MB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004755/0.2832, allocations: 8 kB / 413.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.2836, allocations: 83.16 kB / 413.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005768/0.2842, allocations: 150.7 kB / 413.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.2848, allocations: 171.7 kB / 413.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008492/0.2856, allocations: 0.6264 MB / 414.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.286, allocations: 219 kB / 414.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004034/0.2864, allocations: 235.1 kB / 415 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.2869, allocations: 250.9 kB / 415.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.287, allocations: 56 kB / 415.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.2872, allocations: 60 kB / 415.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.2873, allocations: 127.5 kB / 415.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003292/0.2876, allocations: 270.7 kB / 415.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007709/0.2884, allocations: 0.6459 MB / 416.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2884, allocations: 0 / 416.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2884, allocations: 0 / 416.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.457e-05/0.2885, allocations: 4 kB / 416.4 MB, free: 9.875 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001683/0.2902, allocations: 0.8149 MB / 417.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2902, allocations: 12.03 kB / 417.2 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.2903, allocations: 82.72 kB / 417.3 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/0.2906, allocations: 64.59 kB / 417.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005364/0.2911, allocations: 385 kB / 417.7 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.2912, allocations: 33.31 kB / 417.8 MB, free: 8.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.2912, allocations: 52.12 kB / 417.8 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007881/0.292, allocations: 457.5 kB / 418.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.2921, allocations: 4 kB / 418.3 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.2921, allocations: 20 kB / 418.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.2921, allocations: 12 kB / 418.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006091/0.2927, allocations: 323.8 kB / 418.6 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.2953, allocations: 1.856 MB / 420.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008075/0.2961, allocations: 0.609 MB / 421.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000586/0.2967, allocations: 276.4 kB / 421.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.2967, allocations: 4.328 kB / 421.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004463/0.2972, allocations: 269.2 kB / 421.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.733e-06/0.2972, allocations: 4 kB / 421.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002259/0.2995, allocations: 0.8424 MB / 422.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.2995, allocations: 85.11 kB / 422.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.2999, allocations: 332.4 kB / 422.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.3, allocations: 37.7 kB / 422.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.3002, allocations: 224.7 kB / 423.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.3003, allocations: 146.8 kB / 423.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.3005, allocations: 86.2 kB / 423.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3006, allocations: 350.8 kB / 423.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.3009, allocations: 121.1 kB / 423.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.3012, allocations: 253 kB / 424.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.3018, allocations: 379 kB / 424.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.3018, allocations: 0 / 424.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009348/0.3027, allocations: 0.5131 MB / 424.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.3028, allocations: 11.94 kB / 424.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.3028, allocations: 7.938 kB / 425 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000485/0.3033, allocations: 144.7 kB / 425.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.3035, allocations: 64 kB / 425.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/0.3067, allocations: 2.545 MB / 427.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.307, allocations: 43.77 kB / 427.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.307, allocations: 20 kB / 427.8 MB, free: 13.85 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.3072, allocations: 177.7 kB / 427.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/0.3073, allocations: 43.69 kB / 428 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.391e-05/0.3074, allocations: 52.41 kB / 428 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3074, allocations: 4 kB / 428 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3074, allocations: 3.938 kB / 428 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3074, allocations: 0 / 428 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.309, allocations: 1.036 MB / 429.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.309, allocations: 0 / 429.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.3092, allocations: 31.98 kB / 429.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004182/0.3096, allocations: 149.1 kB / 429.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.3096, allocations: 11.98 kB / 429.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003116/0.3128, allocations: 2.532 MB / 431.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.3128, allocations: 7.969 kB / 431.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.314, allocations: 0.7138 MB / 432.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.3142, allocations: 164.7 kB / 432.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.427e-05/0.3143, allocations: 8 kB / 432.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.3145, allocations: 15.94 kB / 432.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.3146, allocations: 43.94 kB / 432.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.3147, allocations: 8 kB / 432.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002547/0.3149, allocations: 227.1 kB / 433 MB, free: 8.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3149, allocations: 0 / 433 MB, free: 8.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000617/0.3156, allocations: 143.8 kB / 433.1 MB, free: 8.238 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001454/0.317, allocations: 1.283 MB / 434.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.3181, allocations: 0.5378 MB / 434.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.3181, allocations: 4 kB / 434.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.3186, allocations: 379 kB / 435.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.3191, allocations: 93.59 kB / 435.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00571/0.3248, allocations: 4.004 MB / 439.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.3254, allocations: 0.8318 MB / 440.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.3255, allocations: 43.33 kB / 440.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.3257, allocations: 139.4 kB / 440.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3257, allocations: 0 / 440.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03721/0.363, allocations: 10.95 MB / 451.4 MB, free: 6.035 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.98, allocations: 12.14 kB / 451.4 MB, free: 6.023 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)