Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001113/0.001112, allocations: 101.6 kB / 17.72 MB, free: 5.359 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.001086/0.001086, allocations: 188.1 kB / 18.66 MB, free: 4.434 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.296/1.296, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001316/0.001316, allocations: 55.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.09876, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.006287/0.1051, allocations: 3.67 MB / 378.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.1077, allocations: 0.9514 MB / 379.3 MB, free: 428 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006444/0.1083, allocations: 8 kB / 379.3 MB, free: 420 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00043/0.1088, allocations: 79.22 kB / 379.4 MB, free: 340 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007685/0.1096, allocations: 146.7 kB / 379.5 MB, free: 192 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.1103, allocations: 159.8 kB / 379.7 MB, free: 32 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2316/0.3419, allocations: 0.6063 MB / 380.3 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004499/0.3424, allocations: 208.1 kB / 380.5 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.3427, allocations: 229 kB / 380.7 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.3431, allocations: 245 kB / 380.9 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.8e-05/0.3432, allocations: 55.38 kB / 381 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.068e-05/0.3433, allocations: 54.47 kB / 381 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3434, allocations: 122.9 kB / 381.2 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.3437, allocations: 264.2 kB / 381.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000883/0.3446, allocations: 0.6252 MB / 382 MB, free: 9 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3446, allocations: 3.375 kB / 382.1 MB, free: 9 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3446, allocations: 0 / 382.1 MB, free: 9 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3446, allocations: 1.375 kB / 382.1 MB, free: 9 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001562/0.3462, allocations: 0.7698 MB / 382.8 MB, free: 8.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.3462, allocations: 14.47 kB / 382.8 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.476e-05/0.3463, allocations: 79.58 kB / 382.9 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.3464, allocations: 57.67 kB / 383 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.3469, allocations: 363.3 kB / 383.3 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.3469, allocations: 34.25 kB / 383.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.347, allocations: 39.92 kB / 383.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.3477, allocations: 456.6 kB / 383.8 MB, free: 8.082 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.3478, allocations: 7.422 kB / 383.9 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.3478, allocations: 15.92 kB / 383.9 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.3479, allocations: 13.34 kB / 383.9 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005803/0.3484, allocations: 316.7 kB / 384.2 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.3508, allocations: 1.819 MB / 386 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008029/0.3516, allocations: 0.613 MB / 386.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/0.3523, allocations: 280.4 kB / 386.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.3523, allocations: 5.969 kB / 386.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004701/0.3528, allocations: 265.4 kB / 387.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.3528, allocations: 0 / 387.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002316/0.3551, allocations: 0.8434 MB / 388 MB, free: 5.828 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.3552, allocations: 83.72 kB / 388.1 MB, free: 5.734 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.3555, allocations: 314.1 kB / 388.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.3556, allocations: 36.67 kB / 388.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.3557, allocations: 220.6 kB / 388.6 MB, free: 5.344 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.737e-05/0.3558, allocations: 134.4 kB / 388.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.356, allocations: 87.77 kB / 388.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.356, allocations: 350.4 kB / 389.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.3563, allocations: 119 kB / 389.3 MB, free: 4.816 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.3566, allocations: 250.8 kB / 389.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.3571, allocations: 376 kB / 389.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.3571, allocations: 1.031 kB / 389.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008217/0.3579, allocations: 0.5114 MB / 390.4 MB, free: 4.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.3579, allocations: 6.844 kB / 390.4 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.358, allocations: 4.375 kB / 390.5 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004953/0.3585, allocations: 151.5 kB / 390.6 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.3587, allocations: 63.06 kB / 390.7 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.3615, allocations: 2.545 MB / 393.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.3618, allocations: 42.22 kB / 393.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.3618, allocations: 22.5 kB / 393.3 MB, free: 2.004 MB / 318.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0001959/0.362, allocations: 173.2 kB / 393.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/0.3621, allocations: 39.03 kB / 393.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.194e-05/0.3622, allocations: 48.23 kB / 393.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3622, allocations: 10.22 kB / 393.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.3622, allocations: 3.938 kB / 393.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.3622, allocations: 3.844 kB / 393.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.3637, allocations: 1.016 MB / 394.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3637, allocations: 1.438 kB / 394.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.3639, allocations: 34.84 kB / 394.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000399/0.3643, allocations: 150.9 kB / 394.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.3643, allocations: 18.81 kB / 394.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00289/0.3672, allocations: 2.535 MB / 397.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.3673, allocations: 6.281 kB / 397.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.3686, allocations: 0.7194 MB / 398 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.3688, allocations: 151.7 kB / 398.2 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.3688, allocations: 8.25 kB / 398.2 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.3691, allocations: 16.31 kB / 398.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.3692, allocations: 36.55 kB / 398.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.3692, allocations: 15.27 kB / 398.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002981/0.3695, allocations: 218.5 kB / 398.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3695, allocations: 0 / 398.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006718/0.3702, allocations: 143.4 kB / 398.6 MB, free: 14.36 MB / 334.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.001644/0.3719, allocations: 1.269 MB / 399.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.373, allocations: 0.5387 MB / 400.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.373, allocations: 2.312 kB / 400.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005837/0.3736, allocations: 383.5 kB / 400.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.3741, allocations: 83.88 kB / 400.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007101/0.3812, allocations: 3.915 MB / 404.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.3818, allocations: 0.8257 MB / 405.6 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002105/0.382, allocations: 42.44 kB / 405.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.3822, allocations: 136.3 kB / 405.8 MB, free: 9.547 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3822, allocations: 0 / 405.8 MB, free: 9.547 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04622/0.4285, allocations: 10.99 MB / 416.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.03, allocations: 8.344 kB / 416.8 MB, free: 3.656 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)