Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.00138/0.00138, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001393/0.001393, allocations: 212.5 kB / 24.51 MB, free: 3.918 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.187/0.187, allocations: 38.55 MB / 353.2 MB, free: 12.3 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.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="cs",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.003408/0.003408, allocations: 67.89 kB / 493.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3533, allocations: 62.45 MB / 0.5427 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009731/0.363, allocations: 6.414 MB / 0.549 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004575/0.3676, allocations: 2.005 MB / 0.5509 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005035/0.3681, allocations: 31.03 kB / 0.551 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.3697, allocations: 0.4964 MB / 0.5514 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.3714, allocations: 0.5743 MB / 0.552 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.3725, allocations: 363.8 kB / 0.5523 GB, free: 8.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.3743, allocations: 1.295 MB / 0.5536 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008588/0.3752, allocations: 0.5379 MB / 0.5541 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.3763, allocations: 0.5564 MB / 0.5547 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.3774, allocations: 0.778 MB / 0.5554 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.3776, allocations: 109.5 kB / 0.5555 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.3788, allocations: 0.6205 MB / 0.5562 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005442/0.3793, allocations: 482.8 kB / 0.5566 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005743/0.3799, allocations: 454.2 kB / 0.557 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001877/0.3818, allocations: 1.549 MB / 0.5586 GB, free: 4.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3818, allocations: 0 / 0.5586 GB, free: 4.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3818, allocations: 3.938 kB / 0.5586 GB, free: 4.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.3818, allocations: 0 / 0.5586 GB, free: 4.008 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003081/0.3849, allocations: 1.326 MB / 0.5599 GB, free: 2.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.3849, allocations: 19.92 kB / 0.5599 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.66e-05/0.3849, allocations: 22.19 kB / 0.5599 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002207/0.3852, allocations: 147.8 kB / 0.56 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008755/0.386, allocations: 180.2 kB / 0.5602 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.3875, allocations: 0.619 MB / 0.5608 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/0.3878, allocations: 337.4 kB / 0.5611 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.388, allocations: 80 kB / 0.5612 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.3905, allocations: 1.406 MB / 0.5626 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.3905, allocations: 4 kB / 0.5626 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.3906, allocations: 31.98 kB / 0.5626 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002256/0.3908, allocations: 89.88 kB / 0.5627 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002804/0.3936, allocations: 1.522 MB / 0.5642 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007411/0.4011, allocations: 4.129 MB / 0.5682 GB, free: 9.828 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/0.4034, allocations: 1.107 MB / 0.5693 GB, free: 8.707 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.4047, allocations: 0.7036 MB / 0.57 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.774e-05/0.4047, allocations: 16.66 kB / 0.57 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.4049, allocations: 43.2 kB / 0.5701 GB, free: 7.926 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 3.286e-06/0.4049, allocations: 0 / 0.5701 GB, free: 7.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.007045/0.4119, allocations: 3.646 MB / 0.5736 GB, free: 4.246 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.412, allocations: 86.11 kB / 0.5737 GB, free: 4.145 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004715/0.4124, allocations: 397.9 kB / 0.5741 GB, free: 3.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.252e-05/0.4125, allocations: 45.69 kB / 0.5741 GB, free: 3.699 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.4128, allocations: 345.1 kB / 0.5744 GB, free: 3.355 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.4131, allocations: 372.8 kB / 0.5748 GB, free: 2.988 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/0.4134, allocations: 166.6 kB / 0.575 GB, free: 2.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.4136, allocations: 382.8 kB / 0.5753 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.4147, allocations: 0.5836 MB / 0.5759 GB, free: 1.852 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.416, allocations: 0.7542 MB / 0.5766 GB, free: 1.051 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.4183, allocations: 1.383 MB / 0.578 GB, free: 15.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4183, allocations: 0 / 0.578 GB, free: 15.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002907/0.4213, allocations: 1.529 MB / 0.5795 GB, free: 14.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.4213, allocations: 8.062 kB / 0.5795 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4213, allocations: 4 kB / 0.5795 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001653/0.4215, allocations: 36.84 kB / 0.5795 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/0.424, allocations: 0.4953 MB / 0.58 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007143/0.4311, allocations: 6.268 MB / 0.5861 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000773/0.4319, allocations: 87.73 kB / 0.5862 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.522e-05/0.432, allocations: 36.16 kB / 0.5862 GB, free: 6.695 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0005316/0.4325, allocations: 320.3 kB / 0.5865 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.4328, allocations: 75.52 kB / 0.5866 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/0.4357, allocations: 1.509 MB / 0.5881 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.822e-05/0.4357, allocations: 23.98 kB / 0.5881 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4357, allocations: 3.938 kB / 0.5881 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.4357, allocations: 11.98 kB / 0.5881 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004792/0.4405, allocations: 2.656 MB / 0.5907 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.4405, allocations: 4 kB / 0.5907 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002891/0.4434, allocations: 0.5307 MB / 0.5912 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.4435, allocations: 36.83 kB / 0.5913 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-05/0.4436, allocations: 20 kB / 0.5913 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.445, allocations: 1.523 MB / 0.5928 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.445, allocations: 4.031 kB / 0.5928 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004218/0.4492, allocations: 2.468 MB / 0.5952 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.4494, allocations: 63.53 kB / 0.5953 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.4495, allocations: 28.05 kB / 0.5953 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006177/0.4501, allocations: 75.91 kB / 0.5954 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.4503, allocations: 76.45 kB / 0.5954 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.716e-05/0.4504, allocations: 24 kB / 0.5955 GB, free: 13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003611/0.4508, allocations: 279.1 kB / 0.5957 GB, free: 12.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4508, allocations: 0 / 0.5957 GB, free: 12.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009276/0.4517, allocations: 239.9 kB / 0.596 GB, free: 12.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * 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.004734/0.4564, allocations: 3.07 MB / 0.599 GB, free: 9.367 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004262/0.4607, allocations: 1.759 MB / 0.6007 GB, free: 7.594 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.4607, allocations: 0 / 0.6007 GB, free: 7.594 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002923/0.4636, allocations: 1.135 MB / 0.6018 GB, free: 6.445 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009008/0.4645, allocations: 156.2 kB / 0.6019 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/0.4793, allocations: 8.989 MB / 0.6107 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.4798, allocations: 498.2 kB / 0.6112 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007365/0.4806, allocations: 277.8 kB / 0.6114 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/0.4811, allocations: 287.3 kB / 0.6117 GB, free: 12 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4811, allocations: 0 / 0.6117 GB, free: 12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05133/0.5324, allocations: 19.2 MB / 0.6305 GB, free: 9.074 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.14, allocations: 8.062 kB / 0.6305 GB, free: 9.066 MB / 478.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.01688531099353] Failed to read output from testmodel.py, exit status != 0: 15.324331830022857 15.339888412 14.954336948 Calling exit ...