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.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) 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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 110.3 kB / 16.51 MB, free: 6.715 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.001208/0.001208, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.364/1.364, allocations: 205.1 MB / 223.3 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1651/0.1651, allocations: 37.99 MB / 308.6 MB, free: 6.242 MB / 254.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.001427/0.001427, allocations: 71.89 kB / 374.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2176, allocations: 55.23 MB / 430 MB, free: 19.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.006878/0.2245, allocations: 7.809 MB / 437.8 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003494/0.228, allocations: 2.525 MB / 440.3 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006157/0.2287, allocations: 47.69 kB / 440.3 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.23, allocations: 490 kB / 440.8 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.2313, allocations: 0.5058 MB / 441.3 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008588/0.2322, allocations: 335.5 kB / 441.7 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.2333, allocations: 1.84 MB / 443.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006767/0.234, allocations: 0.6268 MB / 444.1 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000477/0.2345, allocations: 478.1 kB / 444.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006292/0.2351, allocations: 0.701 MB / 445.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.2352, allocations: 60 kB / 445.4 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006992/0.236, allocations: 0.5187 MB / 445.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002957/0.2363, allocations: 438.8 kB / 446.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003698/0.2366, allocations: 481.7 kB / 446.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000901/0.2375, allocations: 1.418 MB / 448.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2376, allocations: 0 / 448.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2376, allocations: 0 / 448.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.2376, allocations: 0 / 448.2 MB, free: 1.469 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002377/0.24, allocations: 1.344 MB / 449.5 MB, free: 72 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.24, allocations: 12.03 kB / 449.5 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.2402, allocations: 143.8 kB / 449.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006914/0.2409, allocations: 143.8 kB / 449.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.242, allocations: 0.6514 MB / 450.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.2422, allocations: 175.4 kB / 450.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.2424, allocations: 103.8 kB / 450.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.2444, allocations: 1.35 MB / 452.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.2444, allocations: 4 kB / 452.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-05/0.2445, allocations: 36 kB / 452.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/0.2447, allocations: 65.97 kB / 452.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/0.2469, allocations: 1.296 MB / 453.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0064/0.2533, allocations: 4.927 MB / 458.4 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.2553, allocations: 1.129 MB / 459.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.2563, allocations: 0.6251 MB / 460.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.251e-05/0.2564, allocations: 24.41 kB / 460.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.2564, allocations: 39.12 kB / 460.2 MB, free: 5.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.225e-06/0.2564, allocations: 8 kB / 460.2 MB, free: 5 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005278/0.2617, allocations: 3.167 MB / 463.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.2618, allocations: 81.67 kB / 463.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.2623, allocations: 469.8 kB / 464 MB, free: 1.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/0.2623, allocations: 37.7 kB / 464 MB, free: 1.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.2626, allocations: 391.4 kB / 464.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.2628, allocations: 256.3 kB / 464.6 MB, free: 500 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.263, allocations: 150.6 kB / 464.8 MB, free: 344 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2632, allocations: 378.8 kB / 465.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008431/0.264, allocations: 0.4899 MB / 465.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009825/0.265, allocations: 0.6911 MB / 466.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.2668, allocations: 1.224 MB / 467.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2668, allocations: 0 / 467.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004046/0.2709, allocations: 1.974 MB / 469.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.2709, allocations: 11.94 kB / 469.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00352/0.2745, allocations: 1.711 MB / 471.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001683/0.2761, allocations: 0.6539 MB / 471.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.2767, allocations: 155.8 kB / 472 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/0.2867, allocations: 6.762 MB / 478.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007464/0.2875, allocations: 80 kB / 478.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.969e-05/0.2876, allocations: 31.98 kB / 478.9 MB, free: 1.688 MB / 350.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.0005751/0.2882, allocations: 317.4 kB / 479.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.2884, allocations: 59.25 kB / 479.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.2907, allocations: 1.293 MB / 480.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.2907, allocations: 16 kB / 480.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2907, allocations: 4.031 kB / 480.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.2907, allocations: 11.86 kB / 480.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/0.2945, allocations: 2.402 MB / 483 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2945, allocations: 0 / 483 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002449/0.297, allocations: 0.4994 MB / 483.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.2971, allocations: 28.84 kB / 483.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/0.2972, allocations: 20 kB / 483.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.2983, allocations: 1.466 MB / 485 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2983, allocations: 0 / 485 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003129/0.3014, allocations: 2.012 MB / 487 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.3017, allocations: 132.3 kB / 487.2 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.679e-05/0.3018, allocations: 12 kB / 487.2 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004904/0.3023, allocations: 67.92 kB / 487.2 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.3024, allocations: 68.33 kB / 487.3 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/0.3025, allocations: 23.94 kB / 487.3 MB, free: 8.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003628/0.3029, allocations: 318.9 kB / 487.6 MB, free: 8.625 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3029, allocations: 0 / 487.6 MB, free: 8.625 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009021/0.3038, allocations: 236 kB / 487.9 MB, free: 8.395 MB / 366.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.003466/0.3073, allocations: 2.588 MB / 490.5 MB, free: 5.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002668/0.3099, allocations: 1.544 MB / 492 MB, free: 4.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.31, allocations: 0 / 492 MB, free: 4.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002565/0.3125, allocations: 1.009 MB / 493 MB, free: 3.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008719/0.3134, allocations: 154 kB / 493.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/0.332, allocations: 9.863 MB / 0.4912 GB, free: 8.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.3332, allocations: 1.071 MB / 0.4923 GB, free: 7.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001229/0.3344, allocations: 217.5 kB / 0.4925 GB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007603/0.3352, allocations: 291.3 kB / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3352, allocations: 0 / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07213/0.4074, allocations: 19.07 MB / 0.5114 GB, free: 4.152 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003103/0.4077, allocations: 232.4 kB / 0.5116 GB, free: 3.895 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.57, allocations: 3.938 kB / 0.5116 GB, free: 3.891 MB / 398.1 MB (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 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)