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.001549/0.001549, allocations: 104.8 kB / 17.05 MB, free: 6.027 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.001725/0.001726, allocations: 196 kB / 18 MB, free: 5.105 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.455/1.455, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1904/0.1904, allocations: 37.98 MB / 309.2 MB, free: 5.961 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.001766/0.001766, allocations: 71.91 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.106, allocations: 55.24 MB / 486.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008644/0.1147, allocations: 6.761 MB / 493.4 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.1183, allocations: 2.182 MB / 495.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005927/0.119, allocations: 27.81 kB / 495.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.1208, allocations: 0.5137 MB / 496.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.1221, allocations: 0.556 MB / 496.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009233/0.1231, allocations: 367.2 kB / 497 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.1245, allocations: 1.313 MB / 498.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009194/0.1254, allocations: 0.7323 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007404/0.1261, allocations: 0.5488 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.1272, allocations: 0.6972 MB / 0.4886 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002245/0.1274, allocations: 100 kB / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008989/0.1284, allocations: 0.511 MB / 0.4892 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004919/0.1289, allocations: 474.9 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006757/0.1295, allocations: 0.5134 MB / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.1311, allocations: 1.464 MB / 0.4916 GB, free: 8.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1311, allocations: 4 kB / 0.4916 GB, free: 8.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1311, allocations: 0 / 0.4916 GB, free: 8.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.1311, allocations: 4 kB / 0.4916 GB, free: 8.012 MB / 382.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.00268/0.1338, allocations: 1.344 MB / 0.4929 GB, free: 6.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1339, allocations: 11.89 kB / 0.4929 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.134, allocations: 147.6 kB / 0.493 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007721/0.1348, allocations: 135.8 kB / 0.4932 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.1361, allocations: 0.6866 MB / 0.4938 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/0.1363, allocations: 171.4 kB / 0.494 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.1365, allocations: 107.8 kB / 0.4941 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/0.1388, allocations: 1.362 MB / 0.4954 GB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.1389, allocations: 0 / 0.4954 GB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.139, allocations: 36 kB / 0.4955 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001607/0.1392, allocations: 61.97 kB / 0.4955 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.1414, allocations: 1.292 MB / 0.4968 GB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006549/0.1479, allocations: 4.904 MB / 0.5016 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.15, allocations: 1.133 MB / 0.5027 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.1511, allocations: 0.6243 MB / 0.5033 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.398e-05/0.1512, allocations: 8.562 kB / 0.5033 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1512, allocations: 43.06 kB / 0.5033 GB, free: 11.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=72): time 3.135e-06/0.1513, allocations: 0 / 0.5033 GB, free: 11.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.006357/0.1576, allocations: 3.182 MB / 0.5064 GB, free: 8.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.1577, allocations: 85.67 kB / 0.5065 GB, free: 8.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005549/0.1583, allocations: 461.9 kB / 0.507 GB, free: 7.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/0.1583, allocations: 37.7 kB / 0.507 GB, free: 7.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.1586, allocations: 399.3 kB / 0.5074 GB, free: 7.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.1588, allocations: 260.3 kB / 0.5076 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.1591, allocations: 150.5 kB / 0.5078 GB, free: 6.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1592, allocations: 370.8 kB / 0.5081 GB, free: 6.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008664/0.1601, allocations: 0.4938 MB / 0.5086 GB, free: 6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009687/0.1611, allocations: 0.6872 MB / 0.5093 GB, free: 5.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.1629, allocations: 1.216 MB / 0.5105 GB, free: 3.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.1629, allocations: 4 kB / 0.5105 GB, free: 3.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00422/0.1672, allocations: 1.978 MB / 0.5124 GB, free: 1.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1672, allocations: 11.94 kB / 0.5124 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00376/0.171, allocations: 1.71 MB / 0.5141 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/0.1727, allocations: 0.6533 MB / 0.5147 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.1733, allocations: 155.8 kB / 0.5149 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.1847, allocations: 7.414 MB / 0.5221 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007646/0.1855, allocations: 79.94 kB / 0.5222 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.1856, allocations: 35.97 kB / 0.5222 GB, free: 7.559 MB / 414.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.0005934/0.1862, allocations: 309.5 kB / 0.5225 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.1865, allocations: 63.25 kB / 0.5226 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/0.1889, allocations: 1.305 MB / 0.5239 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.189, allocations: 16 kB / 0.5239 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.189, allocations: 3.984 kB / 0.5239 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.189, allocations: 0 / 0.5239 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003986/0.193, allocations: 2.413 MB / 0.5262 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.193, allocations: 0 / 0.5262 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002721/0.1957, allocations: 499.3 kB / 0.5267 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.1959, allocations: 32.84 kB / 0.5267 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.96e-05/0.1959, allocations: 19.98 kB / 0.5268 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.1971, allocations: 1.626 MB / 0.5283 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1971, allocations: 0 / 0.5283 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2017/0.3988, allocations: 2.006 MB / 0.5303 GB, free: 51.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.399, allocations: 132.3 kB / 0.5304 GB, free: 51.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.3992, allocations: 17.73 kB / 0.5304 GB, free: 51.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005271/0.3997, allocations: 57.83 kB / 0.5305 GB, free: 51.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.3999, allocations: 71.14 kB / 0.5306 GB, free: 51.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/0.3999, allocations: 16.41 kB / 0.5306 GB, free: 51.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003426/0.4003, allocations: 322.1 kB / 0.5309 GB, free: 51.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4003, allocations: 0 / 0.5309 GB, free: 51.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009631/0.4013, allocations: 234.4 kB / 0.5311 GB, free: 51.1 MB / 414.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.003347/0.4046, allocations: 2.578 MB / 0.5336 GB, free: 50.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002773/0.4074, allocations: 1.574 MB / 0.5352 GB, free: 49.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4074, allocations: 0 / 0.5352 GB, free: 49.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002514/0.41, allocations: 1.001 MB / 0.5361 GB, free: 49.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009704/0.411, allocations: 157.5 kB / 0.5363 GB, free: 49.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/0.4286, allocations: 9.42 MB / 0.5455 GB, free: 44.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006006/0.4293, allocations: 1.074 MB / 0.5465 GB, free: 44.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006056/0.4299, allocations: 211.6 kB / 0.5467 GB, free: 44.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/0.4303, allocations: 291.5 kB / 0.547 GB, free: 43.98 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4303, allocations: 0 / 0.547 GB, free: 43.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04285/0.4731, allocations: 20.64 MB / 0.5672 GB, free: 29.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.18, allocations: 7.922 kB / 0.5672 GB, free: 29.03 MB / 414.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)