Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001672/0.001672, allocations: 180.3 kB / 8.353 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.701/1.701, allocations: 194.4 MB / 203.1 MB, free: 12.96 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001688/0.001688, allocations: 112.6 kB / 248.1 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1605/0.1605, allocations: 37.93 MB / 330.9 MB, free: 2.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.211e-05/2.229e-05, allocations: 4 kB / 390.5 MB, free: 6.988 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2815, allocations: 53.22 MB / 443.7 MB, free: 17.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.4091, allocations: 94.44 MB / 0.5255 GB, free: 3.102 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.4095, allocations: 95.92 kB / 0.5256 GB, free: 3.008 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2928/0.7022, allocations: 13.91 MB / 0.5392 GB, free: 88.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.7023, allocations: 0 / 0.5392 GB, free: 88.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.097e-05/0.7023, allocations: 14.56 kB / 0.5392 GB, free: 88.64 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001425/0.7038, allocations: 0.8905 MB / 0.5401 GB, free: 87.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.7038, allocations: 7.906 kB / 0.5401 GB, free: 87.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.7039, allocations: 78.22 kB / 0.5402 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.7063, allocations: 1.095 MB / 0.5412 GB, free: 87.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.7064, allocations: 103.9 kB / 0.5413 GB, free: 87.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.92e-05/0.7065, allocations: 35.84 kB / 0.5414 GB, free: 87.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008141/0.7073, allocations: 0.5479 MB / 0.5419 GB, free: 86.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008713/0.7082, allocations: 0.6649 MB / 0.5426 GB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.7082, allocations: 0 / 0.5426 GB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.7083, allocations: 7.984 kB / 0.5426 GB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.7083, allocations: 12 kB / 0.5426 GB, free: 86.34 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003336/0.7116, allocations: 2.613 MB / 0.5451 GB, free: 83.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009652/0.7126, allocations: 0.7482 MB / 0.5459 GB, free: 82.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.7129, allocations: 274.3 kB / 0.5461 GB, free: 82.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.713, allocations: 7.75 kB / 0.5461 GB, free: 82.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.713, allocations: 42.48 kB / 0.5462 GB, free: 82.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 2.225e-06/0.713, allocations: 0 / 0.5462 GB, free: 82.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.001737/0.7147, allocations: 1.265 MB / 0.5474 GB, free: 81.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.7148, allocations: 81.11 kB / 0.5475 GB, free: 81.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.7151, allocations: 317.2 kB / 0.5478 GB, free: 80.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.7151, allocations: 25.7 kB / 0.5478 GB, free: 80.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.7153, allocations: 320 kB / 0.5481 GB, free: 80.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.684e-05/0.7153, allocations: 134 kB / 0.5482 GB, free: 80.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.7154, allocations: 0 / 0.5482 GB, free: 80.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.7155, allocations: 354.8 kB / 0.5486 GB, free: 79.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.7157, allocations: 185 kB / 0.5488 GB, free: 79.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.7159, allocations: 293.2 kB / 0.549 GB, free: 79.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.7162, allocations: 211.6 kB / 0.5492 GB, free: 79.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7162, allocations: 0 / 0.5492 GB, free: 79.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007111/0.7169, allocations: 0.6437 MB / 0.5499 GB, free: 78.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.7169, allocations: 4 kB / 0.5499 GB, free: 78.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.7169, allocations: 7.984 kB / 0.5499 GB, free: 78.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/0.7172, allocations: 69.67 kB / 0.5499 GB, free: 78.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.7187, allocations: 375.8 kB / 0.5503 GB, free: 78.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/0.7219, allocations: 5.638 MB / 0.5558 GB, free: 71.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.7223, allocations: 40.02 kB / 0.5558 GB, free: 71.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.7224, allocations: 16 kB / 0.5559 GB, free: 71.94 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.7225, allocations: 117.1 kB / 0.556 GB, free: 71.82 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006548/0.7232, allocations: 0.571 MB / 0.5565 GB, free: 71.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.7232, allocations: 43.44 kB / 0.5566 GB, free: 71.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007163/0.724, allocations: 0.5984 MB / 0.5572 GB, free: 70.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.724, allocations: 4 kB / 0.5572 GB, free: 70.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.724, allocations: 4.031 kB / 0.5572 GB, free: 70.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.724, allocations: 7.938 kB / 0.5572 GB, free: 70.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.7256, allocations: 1.305 MB / 0.5584 GB, free: 69.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.7256, allocations: 0 / 0.5584 GB, free: 69.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/0.7273, allocations: 407.6 kB / 0.5588 GB, free: 68.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/0.7275, allocations: 61.67 kB / 0.5589 GB, free: 68.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.7275, allocations: 4 kB / 0.5589 GB, free: 68.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.7289, allocations: 2.738 MB / 0.5616 GB, free: 65.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.7289, allocations: 3.938 kB / 0.5616 GB, free: 65.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.73, allocations: 0.9778 MB / 0.5625 GB, free: 64.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.7301, allocations: 124.5 kB / 0.5626 GB, free: 64.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/0.7302, allocations: 4 kB / 0.5626 GB, free: 64.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.7305, allocations: 39.89 kB / 0.5627 GB, free: 64.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.7306, allocations: 31.95 kB / 0.5627 GB, free: 64.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.7306, allocations: 15.98 kB / 0.5627 GB, free: 64.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002317/0.7309, allocations: 243 kB / 0.563 GB, free: 64.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7309, allocations: 0 / 0.563 GB, free: 64.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006924/0.7316, allocations: 132 kB / 0.5631 GB, free: 64.06 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001201/0.7328, allocations: 1.742 MB / 0.5648 GB, free: 62.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.7346, allocations: 0.9133 MB / 0.5657 GB, free: 61.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7346, allocations: 0 / 0.5657 GB, free: 61.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.7362, allocations: 0.7501 MB / 0.5664 GB, free: 60.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/0.7368, allocations: 100.2 kB / 0.5665 GB, free: 60.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.7388, allocations: 1.214 MB / 0.5677 GB, free: 59.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.7392, allocations: 0.9682 MB / 0.5686 GB, free: 58.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002884/0.7395, allocations: 92.34 kB / 0.5687 GB, free: 58.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.7397, allocations: 195.4 kB / 0.5689 GB, free: 57.91 MB / 378.7 MB Notification: Performance of SimCode: time 7.12e-07/0.7397, allocations: 0 / 0.5689 GB, free: 57.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.7691, allocations: 10.41 MB / 0.5791 GB, free: 47.5 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/0.7693, allocations: 140.8 kB / 0.5792 GB, free: 47.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.216/2.985, allocations: 7.875 kB / 0.5792 GB, free: 47.29 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)