Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.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.001538/0.001538, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001527/0.001527, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1858/0.1858, allocations: 38.55 MB / 352.5 MB, free: 12.41 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.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_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.002081/0.002081, allocations: 63.91 kB / 492.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3056, allocations: 62.46 MB / 0.5419 GB, free: 280 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008821/0.3144, allocations: 6.487 MB / 0.5483 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004228/0.3187, allocations: 2.027 MB / 0.5503 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004548/0.3191, allocations: 40.22 kB / 0.5503 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.3207, allocations: 0.5054 MB / 0.5508 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.3221, allocations: 0.5549 MB / 0.5513 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.3231, allocations: 386.6 kB / 0.5517 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.3247, allocations: 1.301 MB / 0.553 GB, free: 7.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008155/0.3255, allocations: 0.5358 MB / 0.5535 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.3267, allocations: 0.5659 MB / 0.554 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.328, allocations: 0.7038 MB / 0.5547 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.3281, allocations: 99.19 kB / 0.5548 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.3293, allocations: 0.5152 MB / 0.5553 GB, free: 6.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005682/0.3299, allocations: 478.8 kB / 0.5558 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005984/0.3305, allocations: 438.2 kB / 0.5562 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.3324, allocations: 1.491 MB / 0.5577 GB, free: 4.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3324, allocations: 0 / 0.5577 GB, free: 4.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3324, allocations: 4 kB / 0.5577 GB, free: 4.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.737e-05/0.3324, allocations: 0 / 0.5577 GB, free: 4.129 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002972/0.3354, allocations: 1.295 MB / 0.5589 GB, free: 2.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3354, allocations: 15.98 kB / 0.5589 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/0.3357, allocations: 143.6 kB / 0.5591 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000934/0.3366, allocations: 184.2 kB / 0.5593 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.3381, allocations: 0.6174 MB / 0.5599 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003364/0.3385, allocations: 333.6 kB / 0.5602 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.3387, allocations: 91.98 kB / 0.5603 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.3412, allocations: 1.364 MB / 0.5616 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.3412, allocations: 0 / 0.5616 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/0.3413, allocations: 32 kB / 0.5616 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001831/0.3415, allocations: 65.86 kB / 0.5617 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.3441, allocations: 1.292 MB / 0.563 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0079/0.352, allocations: 4.626 MB / 0.5675 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002324/0.3543, allocations: 1.018 MB / 0.5685 GB, free: 8.707 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.3555, allocations: 0.5775 MB / 0.569 GB, free: 8.125 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.749e-05/0.3556, allocations: 8.656 kB / 0.569 GB, free: 8.113 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.3556, allocations: 39.22 kB / 0.5691 GB, free: 8.066 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 3.105e-06/0.3556, allocations: 0 / 0.5691 GB, free: 8.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.006484/0.3621, allocations: 2.972 MB / 0.572 GB, free: 5.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.3622, allocations: 89.77 kB / 0.5721 GB, free: 4.953 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/0.3628, allocations: 469.8 kB / 0.5725 GB, free: 4.484 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.601e-05/0.3629, allocations: 37.7 kB / 0.5725 GB, free: 4.441 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.3632, allocations: 404.3 kB / 0.5729 GB, free: 4.039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.3635, allocations: 269.7 kB / 0.5732 GB, free: 3.773 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/0.3638, allocations: 154.6 kB / 0.5733 GB, free: 3.617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.364, allocations: 374.8 kB / 0.5737 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009765/0.3649, allocations: 0.4899 MB / 0.5742 GB, free: 2.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.3661, allocations: 0.6872 MB / 0.5748 GB, free: 1.992 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00221/0.3683, allocations: 1.22 MB / 0.576 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3683, allocations: 0 / 0.576 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004877/0.3732, allocations: 1.891 MB / 0.5779 GB, free: 14.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.3732, allocations: 14.91 kB / 0.5779 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004222/0.3774, allocations: 1.627 MB / 0.5795 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/0.3794, allocations: 0.6495 MB / 0.5801 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/0.3802, allocations: 159.7 kB / 0.5803 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/0.393, allocations: 7.141 MB / 0.5872 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/0.3938, allocations: 71.91 kB / 0.5873 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.3939, allocations: 32 kB / 0.5873 GB, free: 4.867 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000501/0.3944, allocations: 313.6 kB / 0.5876 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.3945, allocations: 67.58 kB / 0.5877 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.3971, allocations: 1.222 MB / 0.5889 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/0.3971, allocations: 12 kB / 0.5889 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3971, allocations: 4 kB / 0.5889 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.3971, allocations: 3.984 kB / 0.5889 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004612/0.4017, allocations: 2.209 MB / 0.5911 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.4017, allocations: 0 / 0.5911 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002786/0.4045, allocations: 495.4 kB / 0.5916 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001444/0.4047, allocations: 48.78 kB / 0.5916 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.92e-05/0.4047, allocations: 15.98 kB / 0.5916 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.4063, allocations: 1.515 MB / 0.5931 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4063, allocations: 0 / 0.5931 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00362/0.4099, allocations: 1.943 MB / 0.595 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.4101, allocations: 55.58 kB / 0.595 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.4102, allocations: 23.98 kB / 0.5951 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005402/0.4107, allocations: 59.92 kB / 0.5951 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.4109, allocations: 68.47 kB / 0.5952 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/0.411, allocations: 16 kB / 0.5952 GB, free: 12.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004084/0.4114, allocations: 322.9 kB / 0.5955 GB, free: 12.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4114, allocations: 0 / 0.5955 GB, free: 12.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001062/0.4124, allocations: 239.9 kB / 0.5957 GB, free: 12.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004098/0.4165, allocations: 2.503 MB / 0.5982 GB, free: 9.488 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003143/0.4197, allocations: 1.513 MB / 0.5997 GB, free: 7.945 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.4197, allocations: 4 kB / 0.5997 GB, free: 7.941 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002821/0.4225, allocations: 0.9631 MB / 0.6006 GB, free: 6.969 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009157/0.4234, allocations: 162 kB / 0.6008 GB, free: 6.812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/0.4413, allocations: 9.29 MB / 0.6098 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/0.4421, allocations: 489.8 kB / 0.6103 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000695/0.4427, allocations: 209.5 kB / 0.6105 GB, free: 12.53 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000488/0.4432, allocations: 283.3 kB / 0.6108 GB, free: 12.25 MB / 462.1 MB Notification: Performance of SimCode: time 9.41e-07/0.4432, allocations: 0 / 0.6108 GB, free: 12.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06048/0.5037, allocations: 20.91 MB / 0.6312 GB, free: 7.602 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.32, allocations: 7.734 kB / 0.6312 GB, free: 7.598 MB / 478.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.447179505135864] Failed to read output from testmodel.py, exit status != 0: 14.456889830064029 14.486656395 14.148361812 Calling exit ...