Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002489/0.002489, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1849/0.1849, allocations: 38.52 MB / 352.5 MB, free: 12.52 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 63.91 kB / 492.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3647, allocations: 62.47 MB / 0.542 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.008859/0.3735, allocations: 6.452 MB / 0.5483 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.3767, allocations: 1.453 MB / 0.5497 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004826/0.3772, allocations: 29.94 kB / 0.5497 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005836/0.3778, allocations: 151.4 kB / 0.5499 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.3789, allocations: 415.2 kB / 0.5503 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.3794, allocations: 194.3 kB / 0.5505 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.3809, allocations: 1.088 MB / 0.5515 GB, free: 8.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004252/0.3814, allocations: 223.8 kB / 0.5518 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009973/0.3824, allocations: 490.8 kB / 0.5522 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.3834, allocations: 0.5583 MB / 0.5528 GB, free: 8.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.3836, allocations: 64.94 kB / 0.5528 GB, free: 8.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.3837, allocations: 68.69 kB / 0.5529 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003829/0.3841, allocations: 312.6 kB / 0.5532 GB, free: 8.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004868/0.3846, allocations: 368.9 kB / 0.5535 GB, free: 7.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.3858, allocations: 0.8492 MB / 0.5544 GB, free: 7.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3858, allocations: 0 / 0.5544 GB, free: 7.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.113e-06/0.3858, allocations: 0 / 0.5544 GB, free: 7.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.3858, allocations: 1.281 kB / 0.5544 GB, free: 7.191 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002428/0.3882, allocations: 0.9473 MB / 0.5553 GB, free: 6.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.3883, allocations: 13.02 kB / 0.5553 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.3884, allocations: 103.6 kB / 0.5554 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.3886, allocations: 72.08 kB / 0.5555 GB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.3899, allocations: 0.5092 MB / 0.556 GB, free: 5.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002896/0.3902, allocations: 227.2 kB / 0.5562 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.3903, allocations: 52.47 kB / 0.5562 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.3918, allocations: 0.7806 MB / 0.557 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3919, allocations: 0 / 0.557 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.336e-05/0.3919, allocations: 20 kB / 0.557 GB, free: 4.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/0.3921, allocations: 36.97 kB / 0.5571 GB, free: 4.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.3936, allocations: 0.722 MB / 0.5578 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004433/0.398, allocations: 2.561 MB / 0.5603 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.3996, allocations: 0.6906 MB / 0.5609 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007139/0.4003, allocations: 369.4 kB / 0.5613 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.924e-05/0.4004, allocations: 12.44 kB / 0.5613 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.4004, allocations: 35 kB / 0.5613 GB, free: 428 kB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.555e-06/0.4004, allocations: 4 kB / 0.5613 GB, free: 424 kB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004486/0.4049, allocations: 1.851 MB / 0.5631 GB, free: 14.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.405, allocations: 85.48 kB / 0.5632 GB, free: 14.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005445/0.4055, allocations: 398 kB / 0.5636 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/0.4056, allocations: 37.7 kB / 0.5636 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.4058, allocations: 297 kB / 0.5639 GB, free: 13.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.406, allocations: 190.4 kB / 0.5641 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.4062, allocations: 98.3 kB / 0.5642 GB, free: 13.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4064, allocations: 358.8 kB / 0.5645 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006224/0.407, allocations: 273.1 kB / 0.5648 GB, free: 12.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006787/0.4077, allocations: 382 kB / 0.5652 GB, free: 12.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.409, allocations: 0.645 MB / 0.5658 GB, free: 11.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.409, allocations: 8 kB / 0.5658 GB, free: 11.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001712/0.4107, allocations: 0.7954 MB / 0.5666 GB, free: 10.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.4107, allocations: 11.94 kB / 0.5666 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4107, allocations: 0 / 0.5666 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002957/0.411, allocations: 77.67 kB / 0.5667 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/0.4125, allocations: 319.6 kB / 0.567 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006874/0.4194, allocations: 6.114 MB / 0.5729 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006/0.42, allocations: 48 kB / 0.573 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.42, allocations: 16 kB / 0.573 GB, free: 3.809 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004363/0.4205, allocations: 233.7 kB / 0.5732 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4206, allocations: 47.67 kB / 0.5733 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.4222, allocations: 0.7528 MB / 0.574 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4222, allocations: 4 kB / 0.574 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4222, allocations: 4 kB / 0.574 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.4222, allocations: 11.92 kB / 0.574 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/0.4254, allocations: 1.574 MB / 0.5756 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.4254, allocations: 4 kB / 0.5756 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.427, allocations: 323.8 kB / 0.5759 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002945/0.4273, allocations: 89.52 kB / 0.576 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.4273, allocations: 23.98 kB / 0.576 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002794/0.4301, allocations: 2.947 MB / 0.5789 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.4301, allocations: 0 / 0.5789 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.4325, allocations: 1.247 MB / 0.5801 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.4326, allocations: 47.7 kB / 0.5801 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.114e-05/0.4327, allocations: 15.94 kB / 0.5801 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.4331, allocations: 43.95 kB / 0.5802 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.4332, allocations: 51.84 kB / 0.5802 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.4332, allocations: 12 kB / 0.5802 GB, free: 12.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003741/0.4336, allocations: 283.1 kB / 0.5805 GB, free: 11.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4336, allocations: 0 / 0.5805 GB, free: 11.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007392/0.4344, allocations: 144 kB / 0.5807 GB, free: 11.61 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00267/0.437, allocations: 1.789 MB / 0.5824 GB, free: 9.766 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002814/0.4398, allocations: 1.057 MB / 0.5834 GB, free: 8.676 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4398, allocations: 448 / 0.5834 GB, free: 8.676 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002068/0.4419, allocations: 0.7936 MB / 0.5842 GB, free: 7.855 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009244/0.4428, allocations: 148.2 kB / 0.5843 GB, free: 7.715 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009924/0.4528, allocations: 5.73 MB / 0.5899 GB, free: 1.777 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/0.4535, allocations: 0.9408 MB / 0.5909 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004228/0.4539, allocations: 128.7 kB / 0.591 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.4542, allocations: 199.4 kB / 0.5912 GB, free: 496 kB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4542, allocations: 0 / 0.5912 GB, free: 496 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05894/0.5131, allocations: 13.52 MB / 0.6044 GB, free: 3.141 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/14.93, allocations: 6.594 kB / 0.6044 GB, free: 3.137 MB / 446.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.732163103995845] Failed to read output from testmodel.py, exit status != 0: 15.05741007393226 15.074176181 14.684977905 Calling exit ...