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/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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001249/0.001249, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.267/1.267, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1881/0.1881, allocations: 37.98 MB / 309.9 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.001435/0.001435, allocations: 67.91 kB / 432.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0906/0.09205, allocations: 55.24 MB / 487.8 MB, free: 8.465 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008064/0.1002, allocations: 6.337 MB / 494.1 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.103, allocations: 1.485 MB / 495.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000499/0.1035, allocations: 27.81 kB / 495.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000623/0.1041, allocations: 150.9 kB / 495.8 MB, free: 432 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.1053, allocations: 421.9 kB / 496.2 MB, free: 8 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.1058, allocations: 219.6 kB / 496.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.1073, allocations: 1.114 MB / 497.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004954/0.1078, allocations: 364.6 kB / 497.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008373/0.1086, allocations: 482.2 kB / 498.4 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000889/0.1095, allocations: 0.5373 MB / 498.9 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.1097, allocations: 68 kB / 499 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.1099, allocations: 64 kB / 499 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003271/0.1102, allocations: 311.3 kB / 499.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004635/0.1107, allocations: 378.2 kB / 499.7 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008852/0.1116, allocations: 0.8645 MB / 0.4888 GB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1116, allocations: 4 kB / 0.4888 GB, free: 11.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1116, allocations: 0 / 0.4888 GB, free: 11.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.1116, allocations: 0 / 0.4888 GB, free: 11.63 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002065/0.1137, allocations: 1.027 MB / 0.4898 GB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1138, allocations: 11.89 kB / 0.4898 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.1139, allocations: 84.03 kB / 0.4899 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.115, allocations: 0.5807 MB / 0.4905 GB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.1152, allocations: 128.8 kB / 0.4906 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.1153, allocations: 52 kB / 0.4907 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.1167, allocations: 0.785 MB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.1167, allocations: 0 / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.224e-05/0.1168, allocations: 23.98 kB / 0.4915 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.1169, allocations: 36.97 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.1182, allocations: 0.6908 MB / 0.4922 GB, free: 8.078 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.004162/0.1224, allocations: 2.7 MB / 0.4948 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.1241, allocations: 0.8742 MB / 0.4957 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000541/0.1247, allocations: 317.6 kB / 0.496 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.1247, allocations: 7.984 kB / 0.496 GB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1248, allocations: 46.5 kB / 0.496 GB, free: 3.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=38): time 1.804e-06/0.1248, allocations: 0 / 0.496 GB, free: 3.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.003633/0.1284, allocations: 1.933 MB / 0.4979 GB, free: 1.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.1285, allocations: 81.11 kB / 0.498 GB, free: 1.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.1289, allocations: 429.8 kB / 0.4984 GB, free: 1.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.1289, allocations: 33.7 kB / 0.4984 GB, free: 1.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.1291, allocations: 324.1 kB / 0.4987 GB, free: 1.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.1293, allocations: 134.1 kB / 0.4989 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.1294, allocations: 90.16 kB / 0.4989 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1296, allocations: 358.8 kB / 0.4993 GB, free: 456 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/0.13, allocations: 237 kB / 0.4995 GB, free: 216 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005368/0.1306, allocations: 354.3 kB / 0.4998 GB, free: 15.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009799/0.1316, allocations: 0.5742 MB / 0.5004 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1316, allocations: 4 kB / 0.5004 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001348/0.1329, allocations: 0.7921 MB / 0.5012 GB, free: 14.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.133, allocations: 4 kB / 0.5012 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.133, allocations: 7.984 kB / 0.5012 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/0.1332, allocations: 73.67 kB / 0.5013 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.1346, allocations: 295.6 kB / 0.5015 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006061/0.1407, allocations: 6.505 MB / 0.5079 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.1411, allocations: 43.89 kB / 0.5079 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.1411, allocations: 16 kB / 0.508 GB, free: 6.875 MB / 398.1 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 () * Number of clocked 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 (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003012/0.1415, allocations: 241.7 kB / 0.5082 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.529e-05/0.1416, allocations: 47.44 kB / 0.5082 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.1429, allocations: 0.7299 MB / 0.5089 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1429, allocations: 3.938 kB / 0.509 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1429, allocations: 0 / 0.509 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.1431, allocations: 120.4 kB / 0.5091 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.1431, allocations: 15.94 kB / 0.5091 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.1435, allocations: 35.95 kB / 0.5091 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.893e-05/0.1436, allocations: 31.95 kB / 0.5091 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002793/0.1464, allocations: 1.081 MB / 0.5102 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001648/0.148, allocations: 1.1 MB / 0.5113 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005057/0.1486, allocations: 292.4 kB / 0.5116 GB, free: 3.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003243/0.1489, allocations: 295.1 kB / 0.5118 GB, free: 2.809 MB / 398.1 MB Notification: Performance of Backend: time 6.31e-07/0.1489, allocations: 0 / 0.5118 GB, free: 2.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002471/0.1514, allocations: 0.8402 MB / 0.5127 GB, free: 1.934 MB / 398.1 MB Notification: Performance of SimCode: time 0.002403/0.1538, allocations: 1.808 MB / 0.5144 GB, free: 68 kB / 398.1 MB Notification: Performance of Templates: time 0.01439/0.1682, allocations: 8.119 MB / 0.5224 GB, free: 7.934 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (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 & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)